diff --git a/.idea/workspace.xml b/.idea/workspace.xml index a74abfd..f6b2fbc 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -1,10 +1,13 @@ - + + + + @@ -405,7 +415,6 @@ - @@ -430,6 +439,7 @@ - \ No newline at end of file diff --git a/Log/log_file.log b/Log/log_file.log index 6911460..3ae174c 100644 --- a/Log/log_file.log +++ b/Log/log_file.log @@ -1659838,3 +1659838,9041 @@ RuntimeError: Working outside of application context. This typically means that you attempted to use functionality that needed the current application. To solve this, set up an application context with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-16 23:19:39 CEST)" (scheduled at 2023-07-16 23:19:39.456958+02:00) +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-16 23:24:39.456958+02:00 (in 299.998180 seconds) +INFO:root:2023-07-16 23:19:39.476772 : dimanche, 16. juillet 2023 11:19: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:05:00], next run at: 2023-07-16 23:24: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 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-16 23:24:55.647488+02:00 (in 299.985330 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-16 23:24:55 CEST)" (scheduled at 2023-07-16 23:19:55.647488+02:00) +INFO:root:2023-07-16 23:19:55.665438 : dimanche, 16. juillet 2023 11:19:55 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-16 23:24: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 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +INFO:apscheduler.scheduler:Scheduler has been shut down +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added +INFO:apscheduler.scheduler:Scheduler has been shut down +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added +INFO:root:2023-07-17 10:51:21.127922 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-07-17 10:51:21.128924 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-07-17 10:51:21.129956 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-07-17 10:51:21.129956 : ++ FLASK PORT 5001 ++ +INFO:root:2023-07-17 10:51:21.129956 : ++ 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-17 10:56:21.189906+02:00 (in 299.996612 seconds) +INFO:werkzeug:WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead. + * Running on http://localhost:5001 +INFO:werkzeug:Press CTRL+C to quit +INFO:werkzeug: * Restarting with stat +INFO:root:2023-07-17 10:51:29.382048 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-07-17 10:51:29.382048 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-07-17 10:51:29.382048 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-07-17 10:51:29.383052 : ++ FLASK PORT 5001 ++ +INFO:root:2023-07-17 10:51:29.383052 : ++ 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-17 10:56:29.436464+02:00 (in 299.997632 seconds) +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 632-522-489 +INFO:root:2023-07-17 10:51:36.036144 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [17/Jul/2023 10:51:36] "POST /myclass/api/Add_Partner_Client HTTP/1.1" 308 - +INFO:root:2023-07-17 10:51:36.042754 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [17/Jul/2023 10:51:36] "POST /myclass/api/Add_Partner_Client/ HTTP/1.1" 200 - +DEBUG:apscheduler.scheduler:Looking for jobs to run +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-17 10:56:21 CEST)" (scheduled at 2023-07-17 10:56:21.189906+02:00) +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-17 11:01:21.189906+02:00 (in 299.995612 seconds) +INFO:root:2023-07-17 10:56:21.211831 : lundi, 17. juillet 2023 10:56:21 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-17 11:01: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 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-17 10:56:29 CEST)" (scheduled at 2023-07-17 10:56:29.436464+02:00) +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-17 11:01:29.436464+02:00 (in 299.987208 seconds) +INFO:root:2023-07-17 10:56:29.451249 : lundi, 17. juillet 2023 10:56: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:05:00], next run at: 2023-07-17 11:01: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 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\partner_client.py', reloading +INFO:apscheduler.scheduler:Scheduler has been shut down +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added +INFO:werkzeug: * Restarting with stat +INFO:root:2023-07-17 10:57:46.953999 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-07-17 10:57:46.953999 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-07-17 10:57:46.953999 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-07-17 10:57:46.953999 : ++ FLASK PORT 5001 ++ +INFO:root:2023-07-17 10:57:46.953999 : ++ 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-17 11:02:47.009681+02:00 (in 299.998929 seconds) +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 632-522-489 +INFO:root:2023-07-17 10:57:52.717897 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [17/Jul/2023 10:57:52] "POST /myclass/api/Add_Partner_Client HTTP/1.1" 308 - +INFO:root:2023-07-17 10:57:52.726489 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-07-17 10:57:53.332761 : Add_Partner_Client -myprint() takes from 0 to 1 positional arguments but 2 were given - Line : 93 +INFO:werkzeug:127.0.0.1 - - [17/Jul/2023 10:57:53] "POST /myclass/api/Add_Partner_Client/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\partner_client.py', reloading +INFO:apscheduler.scheduler:Scheduler has been shut down +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added +INFO:werkzeug: * Restarting with stat +INFO:root:2023-07-17 10:59:13.675365 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-07-17 10:59:13.675365 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-07-17 10:59:13.675365 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-07-17 10:59:13.675365 : ++ FLASK PORT 5001 ++ +INFO:root:2023-07-17 10:59:13.675365 : ++ 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-17 11:04:13.727918+02:00 (in 299.997805 seconds) +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 632-522-489 +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-17 10:59:42.063213 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-07-17 10:59:42.063213 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-07-17 10:59:42.063213 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-07-17 10:59:42.063213 : ++ FLASK PORT 5001 ++ +INFO:root:2023-07-17 10:59:42.063213 : ++ 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-17 11:04:42.114511+02:00 (in 299.998003 seconds) +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 632-522-489 +INFO:root:2023-07-17 10:59:51.478562 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [17/Jul/2023 10:59:51] "POST /myclass/api/Add_Partner_Client HTTP/1.1" 308 - +INFO:root:2023-07-17 10:59:51.487322 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-07-17 10:59:51.967084 : Add_Partner_Client - Il existe déjà un client qui porte le même nom = nom +INFO:werkzeug:127.0.0.1 - - [17/Jul/2023 10:59:51] "POST /myclass/api/Add_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2023-07-17 11:00:17.592189 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [17/Jul/2023 11:00:17] "POST /myclass/api/Add_Partner_Client HTTP/1.1" 308 - +INFO:root:2023-07-17 11:00:17.605568 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [17/Jul/2023 11:00:17] "POST /myclass/api/Add_Partner_Client/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\partner_client.py', reloading +INFO:apscheduler.scheduler:Scheduler has been shut down +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added +INFO:werkzeug: * Restarting with stat +INFO:root:2023-07-17 11:01:15.079582 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-07-17 11:01:15.079582 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-07-17 11:01:15.080589 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-07-17 11:01:15.080589 : ++ FLASK PORT 5001 ++ +INFO:root:2023-07-17 11:01:15.080589 : ++ 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-17 11:06:15.135472+02:00 (in 299.996881 seconds) +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 632-522-489 +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-17 11:06:21.189906+02:00 (in 299.990972 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-17 11:06:21 CEST)" (scheduled at 2023-07-17 11:01:21.189906+02:00) +INFO:root:2023-07-17 11:01:21.200947 : lundi, 17. juillet 2023 11:01:21 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-17 11:06: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 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +INFO:root:2023-07-17 11:01:33.116822 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [17/Jul/2023 11:01:33] "POST /myclass/api/Add_Partner_Client HTTP/1.1" 308 - +INFO:root:2023-07-17 11:01:33.124356 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [17/Jul/2023 11:01:33] "POST /myclass/api/Add_Partner_Client/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\partner_client.py', reloading +INFO:apscheduler.scheduler:Scheduler has been shut down +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added +INFO:werkzeug: * Restarting with stat +INFO:root:2023-07-17 11:04:13.483534 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-07-17 11:04:13.484543 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-07-17 11:04:13.484543 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-07-17 11:04:13.484543 : ++ FLASK PORT 5001 ++ +INFO:root:2023-07-17 11:04:13.484543 : ++ 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-17 11:09:13.540112+02:00 (in 299.996898 seconds) +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 632-522-489 +INFO:root:2023-07-17 11:04:48.859221 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [17/Jul/2023 11:04:48] "POST /myclass/api/Add_Partner_Client HTTP/1.1" 308 - +INFO:root:2023-07-17 11:04:48.866155 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-07-17 11:04:49.373199 : Add_Partner_Client -malformed node or string: {'adresse': 'adresse_val', 'ville': 'ville_val', 'code_postal': 'code_postal_val', 'pays': 'pays_val'} - Line : 164 +INFO:werkzeug:127.0.0.1 - - [17/Jul/2023 11:04:49] "POST /myclass/api/Add_Partner_Client/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\partner_client.py', reloading +INFO:apscheduler.scheduler:Scheduler has been shut down +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added +INFO:werkzeug: * Restarting with stat +INFO:root:2023-07-17 11:05:36.311578 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-07-17 11:05:36.312682 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-07-17 11:05:36.312682 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-07-17 11:05:36.312682 : ++ FLASK PORT 5001 ++ +INFO:root:2023-07-17 11:05:36.312682 : ++ 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-17 11:10:36.365177+02:00 (in 299.998989 seconds) +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 632-522-489 +INFO:root:2023-07-17 11:05:36.403292 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [17/Jul/2023 11:05:36] "POST /myclass/api/Add_Partner_Client HTTP/1.1" 308 - +INFO:root:2023-07-17 11:05:36.409294 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [17/Jul/2023 11:05:36] "POST /myclass/api/Add_Partner_Client/ HTTP/1.1" 200 - +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-17 11:11:21.189906+02:00 (in 299.990259 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-17 11:11:21 CEST)" (scheduled at 2023-07-17 11:06:21.189906+02:00) +INFO:root:2023-07-17 11:06:21.201495 : lundi, 17. juillet 2023 11:06:21 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-17 11:11: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 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\partner_client.py', reloading +INFO:apscheduler.scheduler:Scheduler has been shut down +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added +INFO:werkzeug: * Restarting with stat +INFO:root:2023-07-17 11:08:27.512175 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-07-17 11:08:27.512175 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-07-17 11:08:27.512175 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-07-17 11:08:27.512175 : ++ FLASK PORT 5001 ++ +INFO:root:2023-07-17 11:08:27.512175 : ++ 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-17 11:13:27.564520+02:00 (in 299.997743 seconds) +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 632-522-489 +INFO:root:2023-07-17 11:08:34.609363 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [17/Jul/2023 11:08:34] "POST /myclass/api/Add_Partner_Client HTTP/1.1" 308 - +INFO:root:2023-07-17 11:08:34.617128 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-07-17 11:08:35.128153 : Add_Partner_Client - Il existe déjà un client qui porte le même nom = nom +INFO:werkzeug:127.0.0.1 - - [17/Jul/2023 11:08:35] "POST /myclass/api/Add_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2023-07-17 11:08:46.409289 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [17/Jul/2023 11:08:46] "POST /myclass/api/Add_Partner_Client HTTP/1.1" 308 - +INFO:root:2023-07-17 11:08:46.416100 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [17/Jul/2023 11:08:46] "POST /myclass/api/Add_Partner_Client/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\partner_client.py', reloading +INFO:apscheduler.scheduler:Scheduler has been shut down +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added +INFO:werkzeug: * Restarting with stat +INFO:root:2023-07-17 11:10:00.135433 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-07-17 11:10:00.135433 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-07-17 11:10:00.135433 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-07-17 11:10:00.135433 : ++ FLASK PORT 5001 ++ +INFO:root:2023-07-17 11:10:00.135433 : ++ 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-17 11:15:00.187938+02:00 (in 299.996996 seconds) +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 632-522-489 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\partner_client.py', reloading +INFO:apscheduler.scheduler:Scheduler has been shut down +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added +INFO:werkzeug: * Restarting with stat +INFO:root:2023-07-17 11:10:22.319284 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-07-17 11:10:22.319284 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-07-17 11:10:22.319284 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-07-17 11:10:22.319284 : ++ FLASK PORT 5001 ++ +INFO:root:2023-07-17 11:10:22.319284 : ++ 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-17 11:15:22.392644+02:00 (in 299.997485 seconds) +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 632-522-489 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\partner_client.py', reloading +INFO:apscheduler.scheduler:Scheduler has been shut down +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added +INFO:werkzeug: * Restarting with stat +INFO:root:2023-07-17 11:10:41.044937 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-07-17 11:10:41.044937 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-07-17 11:10:41.044937 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-07-17 11:10:41.044937 : ++ FLASK PORT 5001 ++ +INFO:root:2023-07-17 11:10:41.044937 : ++ 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-17 11:15:41.097187+02:00 (in 299.997494 seconds) +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 632-522-489 +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-17 11:16:21.189906+02:00 (in 299.992094 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-17 11:16:21 CEST)" (scheduled at 2023-07-17 11:11:21.189906+02:00) +INFO:root:2023-07-17 11:11:21.199865 : lundi, 17. juillet 2023 11:11:21 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-17 11:16: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 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\partner_client.py', reloading +INFO:apscheduler.scheduler:Scheduler has been shut down +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added +INFO:werkzeug: * Restarting with stat +INFO:root:2023-07-17 11:12:15.477223 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-07-17 11:12:15.478229 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-07-17 11:12:15.478229 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-07-17 11:12:15.478229 : ++ FLASK PORT 5001 ++ +INFO:root:2023-07-17 11:12:15.478229 : ++ 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-17 11:17:15.531169+02:00 (in 299.998423 seconds) +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 632-522-489 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\partner_client.py', reloading +INFO:apscheduler.scheduler:Scheduler has been shut down +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added +INFO:werkzeug: * Restarting with stat +INFO:root:2023-07-17 11:12:30.517809 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-07-17 11:12:30.517809 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-07-17 11:12:30.517809 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-07-17 11:12:30.517809 : ++ FLASK PORT 5001 ++ +INFO:root:2023-07-17 11:12:30.517809 : ++ 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-17 11:17:30.572781+02:00 (in 299.997460 seconds) +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 632-522-489 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\partner_client.py', reloading +INFO:apscheduler.scheduler:Scheduler has been shut down +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added +INFO:werkzeug: * Restarting with stat +INFO:root:2023-07-17 11:12:49.394189 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-07-17 11:12:49.394189 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-07-17 11:12:49.394189 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-07-17 11:12:49.394189 : ++ FLASK PORT 5001 ++ +INFO:root:2023-07-17 11:12:49.394189 : ++ 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-17 11:17:49.448033+02:00 (in 299.997872 seconds) +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 632-522-489 +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-17 11:21:21.189906+02:00 (in 299.986326 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-17 11:21:21 CEST)" (scheduled at 2023-07-17 11:16:21.189906+02:00) +INFO:root:2023-07-17 11:16:21.205468 : lundi, 17. juillet 2023 11:16:21 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-17 11:21: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 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-17 11:17:49 CEST)" (scheduled at 2023-07-17 11:17:49.448033+02:00) +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-17 11:22:49.448033+02:00 (in 299.995217 seconds) +INFO:root:2023-07-17 11:17:49.457831 : lundi, 17. juillet 2023 11:17:49 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-17 11:22:49 CEST)" raised an exception +Traceback (most recent call last): + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job + retval = job.func(*job.args, **job.kwargs) + File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-17 11:26:21.189906+02:00 (in 299.990291 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-17 11:26:21 CEST)" (scheduled at 2023-07-17 11:21:21.189906+02:00) +INFO:root:2023-07-17 11:21:21.201599 : lundi, 17. juillet 2023 11:21:21 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-17 11:26: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 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-17 11:27:49.448033+02:00 (in 299.995067 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-17 11:27:49 CEST)" (scheduled at 2023-07-17 11:22:49.448033+02:00) +INFO:root:2023-07-17 11:22:49.455362 : lundi, 17. juillet 2023 11:22:49 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-17 11:27:49 CEST)" raised an exception +Traceback (most recent call last): + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job + retval = job.func(*job.args, **job.kwargs) + File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-17 11:31:21.189906+02:00 (in 299.997557 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-17 11:31:21 CEST)" (scheduled at 2023-07-17 11:26:21.189906+02:00) +INFO:root:2023-07-17 11:26:21.195356 : lundi, 17. juillet 2023 11:26:21 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-17 11:31: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 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-17 11:32:49.448033+02:00 (in 299.988225 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-17 11:32:49 CEST)" (scheduled at 2023-07-17 11:27:49.448033+02:00) +INFO:root:2023-07-17 11:27:49.461585 : lundi, 17. juillet 2023 11:27:49 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-17 11:32:49 CEST)" raised an exception +Traceback (most recent call last): + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job + retval = job.func(*job.args, **job.kwargs) + File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-17 11:36:21.189906+02:00 (in 299.986466 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-17 11:36:21 CEST)" (scheduled at 2023-07-17 11:31:21.189906+02:00) +INFO:root:2023-07-17 11:31:21.205370 : lundi, 17. juillet 2023 11:31:21 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-17 11:36: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 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-17 11:37:49.448033+02:00 (in 299.991293 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-17 11:37:49 CEST)" (scheduled at 2023-07-17 11:32:49.448033+02:00) +INFO:root:2023-07-17 11:32:49.459740 : lundi, 17. juillet 2023 11:32:49 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-17 11:37:49 CEST)" raised an exception +Traceback (most recent call last): + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job + retval = job.func(*job.args, **job.kwargs) + File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-17 11:41:21.189906+02:00 (in 299.995651 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-17 11:41:21 CEST)" (scheduled at 2023-07-17 11:36:21.189906+02:00) +INFO:root:2023-07-17 11:36:21.196266 : lundi, 17. juillet 2023 11:36:21 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-17 11:41: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 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-17 11:42:49.448033+02:00 (in 299.990246 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-17 11:42:49 CEST)" (scheduled at 2023-07-17 11:37:49.448033+02:00) +INFO:root:2023-07-17 11:37:49.459769 : lundi, 17. juillet 2023 11:37:49 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-17 11:42:49 CEST)" raised an exception +Traceback (most recent call last): + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job + retval = job.func(*job.args, **job.kwargs) + File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-17 11:46:21.189906+02:00 (in 299.984885 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-17 11:46:21 CEST)" (scheduled at 2023-07-17 11:41:21.189906+02:00) +INFO:root:2023-07-17 11:41:21.207099 : lundi, 17. juillet 2023 11:41:21 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-17 11:46: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 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-17 11:47:49.448033+02:00 (in 299.992248 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-17 11:47:49 CEST)" (scheduled at 2023-07-17 11:42:49.448033+02:00) +INFO:root:2023-07-17 11:42:49.457637 : lundi, 17. juillet 2023 11:42:49 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-17 11:47:49 CEST)" raised an exception +Traceback (most recent call last): + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job + retval = job.func(*job.args, **job.kwargs) + File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-17 11:51:21.189906+02:00 (in 299.991971 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-17 11:51:21 CEST)" (scheduled at 2023-07-17 11:46:21.189906+02:00) +INFO:root:2023-07-17 11:46:21.199629 : lundi, 17. juillet 2023 11:46:21 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-17 11:51: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 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-17 11:52:49.448033+02:00 (in 299.982871 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-17 11:52:49 CEST)" (scheduled at 2023-07-17 11:47:49.448033+02:00) +INFO:root:2023-07-17 11:47:49.467085 : lundi, 17. juillet 2023 11:47:49 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-17 11:52:49 CEST)" raised an exception +Traceback (most recent call last): + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job + retval = job.func(*job.args, **job.kwargs) + File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-17 11:56:21.189906+02:00 (in 299.986243 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-17 11:56:21 CEST)" (scheduled at 2023-07-17 11:51:21.189906+02:00) +INFO:root:2023-07-17 11:51:21.205702 : lundi, 17. juillet 2023 11:51:21 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-17 11: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 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-17 11:57:49.448033+02:00 (in 299.985240 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-17 11:57:49 CEST)" (scheduled at 2023-07-17 11:52:49.448033+02:00) +INFO:root:2023-07-17 11:52:49.465577 : lundi, 17. juillet 2023 11:52:49 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-17 11:57:49 CEST)" raised an exception +Traceback (most recent call last): + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job + retval = job.func(*job.args, **job.kwargs) + File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-17 12:01:21.189906+02:00 (in 299.995649 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-17 12:01:21 CEST)" (scheduled at 2023-07-17 11:56:21.189906+02:00) +INFO:root:2023-07-17 11:56:21.196676 : lundi, 17. juillet 2023 11:56:21 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-17 12:01: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 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-17 12:02:49.448033+02:00 (in 299.988871 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-17 12:02:49 CEST)" (scheduled at 2023-07-17 11:57:49.448033+02:00) +INFO:root:2023-07-17 11:57:49.460945 : lundi, 17. juillet 2023 11:57:49 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-17 12:02:49 CEST)" raised an exception +Traceback (most recent call last): + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job + retval = job.func(*job.args, **job.kwargs) + File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-17 12:06:21.189906+02:00 (in 299.995920 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-17 12:06:21 CEST)" (scheduled at 2023-07-17 12:01:21.189906+02:00) +INFO:root:2023-07-17 12:01:21.196144 : lundi, 17. juillet 2023 12:01:21 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-17 12:06: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 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\partner_client.py', reloading +INFO:apscheduler.scheduler:Scheduler has been shut down +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added +INFO:werkzeug: * Restarting with stat +INFO:root:2023-07-17 12:02:03.076387 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-07-17 12:02:03.076387 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-07-17 12:02:03.076387 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-07-17 12:02:03.076387 : ++ FLASK PORT 5001 ++ +INFO:root:2023-07-17 12:02:03.076387 : ++ 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-17 12:07:03.131918+02:00 (in 299.997828 seconds) +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 632-522-489 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\partner_client.py', reloading +INFO:apscheduler.scheduler:Scheduler has been shut down +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added +INFO:werkzeug: * Restarting with stat +INFO:root:2023-07-17 12:03:09.267332 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-07-17 12:03:09.268332 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-07-17 12:03:09.268332 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-07-17 12:03:09.268332 : ++ FLASK PORT 5001 ++ +INFO:root:2023-07-17 12:03:09.268332 : ++ 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-17 12:08:09.322602+02:00 (in 299.997694 seconds) +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 632-522-489 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\partner_client.py', reloading +INFO:apscheduler.scheduler:Scheduler has been shut down +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added +INFO:werkzeug: * Restarting with stat +INFO:root:2023-07-17 12:03:34.521574 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-07-17 12:03:34.521574 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-07-17 12:03:34.521574 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-07-17 12:03:34.521574 : ++ FLASK PORT 5001 ++ +INFO:root:2023-07-17 12:03:34.521574 : ++ 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-17 12:08:34.623694+02:00 (in 299.998009 seconds) +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 632-522-489 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\partner_client.py', reloading +INFO:apscheduler.scheduler:Scheduler has been shut down +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added +INFO:werkzeug: * Restarting with stat +INFO:root:2023-07-17 12:04:11.124034 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-07-17 12:04:11.124034 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-07-17 12:04:11.124034 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-07-17 12:04:11.124034 : ++ FLASK PORT 5001 ++ +INFO:root:2023-07-17 12:04:11.124034 : ++ 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-17 12:09:11.178511+02:00 (in 299.999000 seconds) +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 632-522-489 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\partner_client.py', reloading +INFO:apscheduler.scheduler:Scheduler has been shut down +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added +INFO:werkzeug: * Restarting with stat +INFO:apscheduler.scheduler:Scheduler has been shut down +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added +INFO:root:2023-07-17 12:06:22.489104 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-07-17 12:06:22.490137 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-07-17 12:06:22.490137 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-07-17 12:06:22.490137 : ++ FLASK PORT 5001 ++ +INFO:root:2023-07-17 12:06:22.490137 : ++ 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-17 12:11:22.543086+02:00 (in 299.997804 seconds) +INFO:werkzeug:WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead. + * Running on http://localhost:5001 +INFO:werkzeug:Press CTRL+C to quit +INFO:werkzeug: * Restarting with stat +INFO:root:2023-07-17 12:06:31.459825 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-07-17 12:06:31.459825 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-07-17 12:06:31.460839 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-07-17 12:06:31.460839 : ++ FLASK PORT 5001 ++ +INFO:root:2023-07-17 12:06:31.460839 : ++ 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-17 12:11:31.524193+02:00 (in 299.996583 seconds) +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 632-522-489 +INFO:root:2023-07-17 12:06:49.893880 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [17/Jul/2023 12:06:49] "POST /myclass/api/Update_Partner_Client_Contact HTTP/1.1" 308 - +INFO:root:2023-07-17 12:06:49.901890 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-07-17 12:06:50.467403 : Update_Partner_Client_Contact -upsert must be True or False - Line : 277 +INFO:werkzeug:127.0.0.1 - - [17/Jul/2023 12:06:50] "POST /myclass/api/Update_Partner_Client_Contact/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\partner_client.py', reloading +INFO:apscheduler.scheduler:Scheduler has been shut down +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added +INFO:werkzeug: * Restarting with stat +INFO:root:2023-07-17 12:08:40.699375 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-07-17 12:08:40.699375 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-07-17 12:08:40.699375 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-07-17 12:08:40.699375 : ++ FLASK PORT 5001 ++ +INFO:root:2023-07-17 12:08:40.699375 : ++ 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-17 12:13:40.752795+02:00 (in 299.998000 seconds) +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 632-522-489 +INFO:root:2023-07-17 12:08:40.792452 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [17/Jul/2023 12:08:40] "POST /myclass/api/Update_Partner_Client_Contact HTTP/1.1" 308 - +INFO:root:2023-07-17 12:08:40.798506 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-07-17 12:08:41.319931 : Update_Partner_Client_Contact -Collection.update_many() got multiple values for argument 'upsert' - Line : 277 +INFO:werkzeug:127.0.0.1 - - [17/Jul/2023 12:08:41] "POST /myclass/api/Update_Partner_Client_Contact/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\partner_client.py', reloading +INFO:apscheduler.scheduler:Scheduler has been shut down +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added +INFO:werkzeug: * Restarting with stat +INFO:root:2023-07-17 12:09:05.156498 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-07-17 12:09:05.156498 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-07-17 12:09:05.157503 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-07-17 12:09:05.157503 : ++ FLASK PORT 5001 ++ +INFO:root:2023-07-17 12:09:05.157503 : ++ 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-17 12:14:05.219402+02:00 (in 299.997983 seconds) +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 632-522-489 +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-17 12:11:22 CEST)" (scheduled at 2023-07-17 12:11:22.543086+02:00) +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-17 12:16:22.543086+02:00 (in 299.992897 seconds) +INFO:root:2023-07-17 12:11:22.567808 : lundi, 17. juillet 2023 12:11: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:05:00], next run at: 2023-07-17 12:16: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 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\partner_client.py', reloading +INFO:apscheduler.scheduler:Scheduler has been shut down +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added +INFO:werkzeug: * Restarting with stat +INFO:apscheduler.scheduler:Scheduler 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-17 12:13:27.615065 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-07-17 12:13:27.616089 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-07-17 12:13:27.616089 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-07-17 12:13:27.616089 : ++ FLASK PORT 5001 ++ +INFO:root:2023-07-17 12:13:27.616089 : ++ 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-17 12:18:27.667665+02:00 (in 299.997302 seconds) +INFO:werkzeug:WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead. + * Running on http://localhost:5001 +INFO:werkzeug:Press CTRL+C to quit +INFO:werkzeug: * Restarting with stat +INFO:root:2023-07-17 12:13:36.127960 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-07-17 12:13:36.127960 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-07-17 12:13:36.127960 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-07-17 12:13:36.127960 : ++ FLASK PORT 5001 ++ +INFO:root:2023-07-17 12:13:36.127960 : ++ 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-17 12:18:36.186116+02:00 (in 299.997488 seconds) +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 632-522-489 +INFO:root:2023-07-17 12:13:39.200515 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [17/Jul/2023 12:13:39] "POST /myclass/api/Update_Partner_Client_Contact HTTP/1.1" 308 - +INFO:root:2023-07-17 12:13:39.209033 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [17/Jul/2023 12:13:39] "POST /myclass/api/Update_Partner_Client_Contact/ HTTP/1.1" 200 - +INFO:apscheduler.scheduler:Scheduler has been shut down +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added +INFO:apscheduler.scheduler:Scheduler has been shut down +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added +INFO:root:2023-07-18 11:26:56.750112 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-07-18 11:26:56.751553 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-07-18 11:26:56.751553 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-07-18 11:26:56.751553 : ++ FLASK PORT 5001 ++ +INFO:root:2023-07-18 11:26:56.751553 : ++ 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-18 11:31:56.826626+02:00 (in 299.995701 seconds) +INFO:werkzeug:WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead. + * Running on http://localhost:5001 +INFO:werkzeug:Press CTRL+C to quit +INFO:werkzeug: * Restarting with stat +INFO:root:2023-07-18 11:27:10.584729 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-07-18 11:27:10.584729 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-07-18 11:27:10.584729 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-07-18 11:27:10.584729 : ++ FLASK PORT 5001 ++ +INFO:root:2023-07-18 11:27:10.584729 : ++ 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-18 11:32:10.665773+02:00 (in 299.997000 seconds) +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 632-522-489 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\partner_client.py', reloading +INFO:apscheduler.scheduler:Scheduler has been shut down +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added +INFO:werkzeug: * Restarting with stat +INFO:root:2023-07-18 11:29:16.946728 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-07-18 11:29:16.946728 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-07-18 11:29:16.946728 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-07-18 11:29:16.946728 : ++ FLASK PORT 5001 ++ +INFO:root:2023-07-18 11:29:16.952567 : ++ 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-18 11:34:17.017557+02:00 (in 299.996425 seconds) +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 632-522-489 +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-18 11:31:56 CEST)" (scheduled at 2023-07-18 11:31:56.826626+02:00) +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-18 11:36:56.826626+02:00 (in 299.990219 seconds) +INFO:root:2023-07-18 11:31:56.843582 : mardi, 18. juillet 2023 11:31:56 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-18 11:36:56 CEST)" raised an exception +Traceback (most recent call last): + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job + retval = job.func(*job.args, **job.kwargs) + File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-18 11:34:17 CEST)" (scheduled at 2023-07-18 11:34:17.017557+02:00) +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-18 11:39:17.017557+02:00 (in 299.985863 seconds) +INFO:root:2023-07-18 11:34:17.036833 : mardi, 18. juillet 2023 11:34:17 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-18 11:39: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 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-18 11:41:56.826626+02:00 (in 299.990619 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-18 11:41:56 CEST)" (scheduled at 2023-07-18 11:36:56.826626+02:00) +INFO:root:2023-07-18 11:36:56.839771 : mardi, 18. juillet 2023 11:36:56 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-18 11: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 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-18 11:44:17.017557+02:00 (in 299.984634 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-18 11:44:17 CEST)" (scheduled at 2023-07-18 11:39:17.017557+02:00) +INFO:root:2023-07-18 11:39:17.035742 : mardi, 18. juillet 2023 11:39:17 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-18 11:44: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 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-18 11:46:56.826626+02:00 (in 299.995664 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-18 11:46:56 CEST)" (scheduled at 2023-07-18 11:41:56.826626+02:00) +INFO:root:2023-07-18 11:41:56.833524 : mardi, 18. juillet 2023 11:41:56 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-18 11:46:56 CEST)" raised an exception +Traceback (most recent call last): + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job + retval = job.func(*job.args, **job.kwargs) + File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-18 11:49:17.017557+02:00 (in 299.991174 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-18 11:49:17 CEST)" (scheduled at 2023-07-18 11:44:17.017557+02:00) +INFO:root:2023-07-18 11:44:17.028704 : mardi, 18. juillet 2023 11:44:17 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-18 11:49: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 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +INFO:root:2023-07-18 11:46:35.700658 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [18/Jul/2023 11:46:35] "POST /myclass/api/Add_Partner_Client HTTP/1.1" 308 - +INFO:root:2023-07-18 11:46:35.713733 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-07-18 11:46:36.745539 : Add_Partner_Client - Il existe déjà un client qui porte le même nom = nom +INFO:werkzeug:127.0.0.1 - - [18/Jul/2023 11:46:36] "POST /myclass/api/Add_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2023-07-18 11:46:55.474525 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [18/Jul/2023 11:46:55] "POST /myclass/api/Add_Partner_Client HTTP/1.1" 308 - +INFO:root:2023-07-18 11:46:55.495600 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-07-18 11:46:55.514343 : Add_Partner_Client - Il existe déjà un client qui porte le même nom = nom +INFO:werkzeug:127.0.0.1 - - [18/Jul/2023 11:46:55] "POST /myclass/api/Add_Partner_Client/ HTTP/1.1" 200 - +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-18 11:51:56.826626+02:00 (in 299.996063 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-18 11:51:56 CEST)" (scheduled at 2023-07-18 11:46:56.826626+02:00) +INFO:root:2023-07-18 11:46:56.834108 : mardi, 18. juillet 2023 11:46:56 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-18 11: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 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\partner_client.py', reloading +INFO:apscheduler.scheduler:Scheduler has been shut down +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added +INFO:werkzeug: * Restarting with stat +INFO:root:2023-07-18 11:48:00.356864 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-07-18 11:48:00.356864 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-07-18 11:48:00.356864 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-07-18 11:48:00.356864 : ++ FLASK PORT 5001 ++ +INFO:root:2023-07-18 11:48:00.356864 : ++ 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-18 11:53:00.422024+02:00 (in 299.997739 seconds) +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 632-522-489 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\partner_client.py', reloading +INFO:apscheduler.scheduler:Scheduler has been shut down +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added +INFO:werkzeug: * Restarting with stat +INFO:root:2023-07-18 11:49:14.471535 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-07-18 11:49:14.472521 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-07-18 11:49:14.472521 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-07-18 11:49:14.472521 : ++ FLASK PORT 5001 ++ +INFO:root:2023-07-18 11:49:14.472521 : ++ 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-18 11:54:14.549316+02:00 (in 299.996420 seconds) +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 632-522-489 +INFO:root:2023-07-18 11:49:23.467000 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [18/Jul/2023 11:49:23] "POST /myclass/api/Add_Partner_Client HTTP/1.1" 308 - +INFO:root:2023-07-18 11:49:23.477915 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-07-18 11:49:24.489680 : Add_Partner_Client - Il existe déjà un client qui porte le même nom = nom +INFO:werkzeug:127.0.0.1 - - [18/Jul/2023 11:49:24] "POST /myclass/api/Add_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2023-07-18 11:49:39.555331 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [18/Jul/2023 11:49:39] "POST /myclass/api/Add_Partner_Client HTTP/1.1" 308 - +INFO:root:2023-07-18 11:49:39.569547 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [18/Jul/2023 11:49:39] "POST /myclass/api/Add_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2023-07-18 11:50:52.803783 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [18/Jul/2023 11:50:52] "POST /myclass/api/Get_Partner_List_Partner_Client HTTP/1.1" 308 - +INFO:root:2023-07-18 11:50:52.813203 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [18/Jul/2023 11:50:52] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 500 - +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\partner_client.py', reloading +INFO:apscheduler.scheduler:Scheduler has been shut down +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added +INFO:werkzeug: * Restarting with stat +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-18 11:56:56.826626+02:00 (in 299.992393 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-18 11:56:56 CEST)" (scheduled at 2023-07-18 11:51:56.826626+02:00) +INFO:root:2023-07-18 11:51:56.836235 : mardi, 18. juillet 2023 11:51:56 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-18 11: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 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +INFO:root:2023-07-18 11:52:02.621684 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-07-18 11:52:02.621684 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-07-18 11:52:02.621684 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-07-18 11:52:02.621684 : ++ FLASK PORT 5001 ++ +INFO:root:2023-07-18 11:52:02.621684 : ++ 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-18 11:57:02.690911+02:00 (in 299.997592 seconds) +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 632-522-489 +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-18 11:52:34.465122 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-07-18 11:52:34.465122 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-07-18 11:52:34.465122 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-07-18 11:52:34.465122 : ++ FLASK PORT 5001 ++ +INFO:root:2023-07-18 11:52:34.465122 : ++ 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-18 11:57:34.534310+02:00 (in 299.997255 seconds) +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 632-522-489 +INFO:root:2023-07-18 11:52:34.584164 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [18/Jul/2023 11:52:34] "POST /myclass/api/Get_Partner_List_Partner_Client HTTP/1.1" 308 - +INFO:root:2023-07-18 11:52:34.595507 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [18/Jul/2023 11:52:34] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 500 - +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-18 11:53:57.869998 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-07-18 11:53:57.869998 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-07-18 11:53:57.869998 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-07-18 11:53:57.871038 : ++ FLASK PORT 5001 ++ +INFO:root:2023-07-18 11:53:57.871038 : ++ 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-18 11:58:57.936618+02:00 (in 299.996254 seconds) +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 632-522-489 +INFO:root:2023-07-18 11:54:13.872252 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [18/Jul/2023 11:54:13] "POST /myclass/api/Get_Partner_List_Partner_Client HTTP/1.1" 308 - +INFO:root:2023-07-18 11:54:13.881806 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-07-18 11:54:14.873034 : Get_Partner_List_Partner_Client Le champ 'raison_sociale' n'existe pas +INFO:werkzeug:127.0.0.1 - - [18/Jul/2023 11:54:14] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2023-07-18 11:54:36.001306 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [18/Jul/2023 11:54:36] "POST /myclass/api/Get_Partner_List_Partner_Client HTTP/1.1" 308 - +INFO:root:2023-07-18 11:54:36.011302 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-07-18 11:54:36.023504 : Get_Partner_List_Partner_Client -module 'prj_common' has no attribute 'get_user_data_from_token' - Line : 543 +INFO:werkzeug:127.0.0.1 - - [18/Jul/2023 11:54:36] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\partner_client.py', reloading +INFO:apscheduler.scheduler:Scheduler has been shut down +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added +INFO:werkzeug: * Restarting with stat +INFO:root:2023-07-18 11:56:08.455854 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-07-18 11:56:08.456858 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-07-18 11:56:08.456858 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-07-18 11:56:08.456858 : ++ FLASK PORT 5001 ++ +INFO:root:2023-07-18 11:56:08.456858 : ++ 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-18 12:01:08.528654+02:00 (in 299.997037 seconds) +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 632-522-489 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\partner_client.py', reloading +INFO:apscheduler.scheduler:Scheduler has been shut down +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added +INFO:werkzeug: * Restarting with stat +INFO:root:2023-07-18 11:56:39.999569 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-07-18 11:56:39.999569 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-07-18 11:56:39.999569 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-07-18 11:56:39.999569 : ++ FLASK PORT 5001 ++ +INFO:root:2023-07-18 11:56:39.999569 : ++ 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-18 12:01:40.070027+02:00 (in 299.996992 seconds) +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 632-522-489 +INFO:root:2023-07-18 11:56:40.362555 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [18/Jul/2023 11:56:40] "POST /myclass/api/Get_Partner_List_Partner_Client HTTP/1.1" 308 - +INFO:root:2023-07-18 11:56:40.373914 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [18/Jul/2023 11:56:40] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-18 12:01:56.826626+02:00 (in 299.990481 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-18 12:01:56 CEST)" (scheduled at 2023-07-18 11:56:56.826626+02:00) +INFO:root:2023-07-18 11:56:56.839965 : mardi, 18. juillet 2023 11:56:56 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-18 12:01:56 CEST)" raised an exception +Traceback (most recent call last): + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job + retval = job.func(*job.args, **job.kwargs) + File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\partner_client.py', reloading +INFO:apscheduler.scheduler:Scheduler has been shut down +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added +INFO:werkzeug: * Restarting with stat +INFO:root:2023-07-18 11:58:32.911145 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-07-18 11:58:32.912148 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-07-18 11:58:32.912148 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-07-18 11:58:32.912148 : ++ FLASK PORT 5001 ++ +INFO:root:2023-07-18 11:58:32.912148 : ++ 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-18 12:03:32.978847+02:00 (in 299.996426 seconds) +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 632-522-489 +INFO:root:2023-07-18 11:58:33.026585 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [18/Jul/2023 11:58:33] "POST /myclass/api/Update_Partner_Client HTTP/1.1" 308 - +INFO:root:2023-07-18 11:58:33.038304 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-07-18 11:58:33.710307 : Update_Partner_Client -unknown top level operator: $OR. If you have a field name that starts with a '$' symbol, consider using $getField or $setField., full error: {'ok': 0.0, 'errmsg': "unknown top level operator: $OR. If you have a field name that starts with a '$' symbol, consider using $getField or $setField.", 'code': 2, 'codeName': 'BadValue'} - Line : 372 +INFO:werkzeug:127.0.0.1 - - [18/Jul/2023 11:58:33] "POST /myclass/api/Update_Partner_Client/ HTTP/1.1" 200 - +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-18 12:06:56.826626+02:00 (in 299.995147 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-18 12:06:56 CEST)" (scheduled at 2023-07-18 12:01:56.826626+02:00) +INFO:root:2023-07-18 12:01:56.834495 : mardi, 18. juillet 2023 12:01:56 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-18 12:06:56 CEST)" raised an exception +Traceback (most recent call last): + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job + retval = job.func(*job.args, **job.kwargs) + File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\partner_client.py', reloading +INFO:apscheduler.scheduler:Scheduler has been shut down +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added +INFO:werkzeug: * Restarting with stat +INFO:root:2023-07-18 12:02:33.198153 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-07-18 12:02:33.198153 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-07-18 12:02:33.198153 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-07-18 12:02:33.198153 : ++ FLASK PORT 5001 ++ +INFO:root:2023-07-18 12:02:33.198153 : ++ 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-18 12:07:33.260568+02:00 (in 299.996963 seconds) +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 632-522-489 +INFO:root:2023-07-18 12:02:48.620466 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [18/Jul/2023 12:02:48] "POST /myclass/api/Update_Partner_Client HTTP/1.1" 308 - +INFO:root:2023-07-18 12:02:48.630665 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-07-18 12:02:49.554764 : Update_Partner_Client -'list' object has no attribute 'keys' - Line : 437 +INFO:werkzeug:127.0.0.1 - - [18/Jul/2023 12:02:49] "POST /myclass/api/Update_Partner_Client/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\partner_client.py', reloading +INFO:apscheduler.scheduler:Scheduler has been shut down +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added +INFO:werkzeug: * Restarting with stat +INFO:root:2023-07-18 12:04:02.944985 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-07-18 12:04:02.944985 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-07-18 12:04:02.944985 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-07-18 12:04:02.944985 : ++ FLASK PORT 5001 ++ +INFO:root:2023-07-18 12:04:02.944985 : ++ 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-18 12:09:03.019132+02:00 (in 299.997744 seconds) +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 632-522-489 +INFO:root:2023-07-18 12:04:03.073712 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [18/Jul/2023 12:04:03] "POST /myclass/api/Update_Partner_Client HTTP/1.1" 308 - +INFO:root:2023-07-18 12:04:03.083715 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-07-18 12:04:03.920897 : Update_Partner_Client -'str' object has no attribute 'keys' - Line : 437 +INFO:werkzeug:127.0.0.1 - - [18/Jul/2023 12:04:03] "POST /myclass/api/Update_Partner_Client/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\partner_client.py', reloading +INFO:apscheduler.scheduler:Scheduler has been shut down +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added +INFO:werkzeug: * Restarting with stat +INFO:root:2023-07-18 12:04:31.742377 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-07-18 12:04:31.742377 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-07-18 12:04:31.743414 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-07-18 12:04:31.743414 : ++ FLASK PORT 5001 ++ +INFO:root:2023-07-18 12:04:31.743414 : ++ 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-18 12:09:31.813247+02:00 (in 299.998003 seconds) +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 632-522-489 +INFO:root:2023-07-18 12:04:43.744728 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [18/Jul/2023 12:04:43] "POST /myclass/api/Update_Partner_Client HTTP/1.1" 308 - +INFO:root:2023-07-18 12:04:43.753576 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [18/Jul/2023 12:04:43] "POST /myclass/api/Update_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2023-07-18 12:05:15.756549 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [18/Jul/2023 12:05:15] "POST /myclass/api/Update_Partner_Client HTTP/1.1" 308 - +INFO:root:2023-07-18 12:05:15.771663 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [18/Jul/2023 12:05:15] "POST /myclass/api/Update_Partner_Client/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\partner_client.py', reloading +INFO:apscheduler.scheduler:Scheduler has been shut down +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added +INFO:werkzeug: * Restarting with stat +INFO:root:2023-07-18 12:06:40.582630 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-07-18 12:06:40.582630 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-07-18 12:06:40.582630 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-07-18 12:06:40.582630 : ++ FLASK PORT 5001 ++ +INFO:root:2023-07-18 12:06:40.582630 : ++ 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-18 12:11:40.643937+02:00 (in 299.998001 seconds) +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 632-522-489 +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-18 12:11:56.826626+02:00 (in 299.996743 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-18 12:11:56 CEST)" (scheduled at 2023-07-18 12:06:56.826626+02:00) +INFO:root:2023-07-18 12:06:56.833225 : mardi, 18. juillet 2023 12:06:56 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-18 12:11:56 CEST)" raised an exception +Traceback (most recent call last): + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job + retval = job.func(*job.args, **job.kwargs) + File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\partner_client.py', reloading +INFO:apscheduler.scheduler:Scheduler has been shut down +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added +INFO:werkzeug: * Restarting with stat +INFO:root:2023-07-18 12:07:54.445663 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-07-18 12:07:54.446640 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-07-18 12:07:54.446640 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-07-18 12:07:54.446640 : ++ FLASK PORT 5001 ++ +INFO:root:2023-07-18 12:07:54.446640 : ++ 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-18 12:12:54.511485+02:00 (in 299.996927 seconds) +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 632-522-489 +INFO:root:2023-07-18 12:07:54.558132 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [18/Jul/2023 12:07:54] "POST /myclass/api/Update_Partner_Client HTTP/1.1" 308 - +INFO:root:2023-07-18 12:07:54.567746 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [18/Jul/2023 12:07:54] "POST /myclass/api/Update_Partner_Client/ HTTP/1.1" 200 - +INFO:apscheduler.scheduler:Scheduler has been shut down +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added +INFO:apscheduler.scheduler:Scheduler has been shut down +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added +INFO:root:2023-07-19 10:15:52.098342 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-07-19 10:15:52.099395 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-07-19 10:15:52.099395 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-07-19 10:15:52.099395 : ++ FLASK PORT 5001 ++ +INFO:root:2023-07-19 10:15:52.099395 : ++ 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-19 10:20:52.226343+02:00 (in 299.995640 seconds) +INFO:werkzeug:WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead. + * Running on http://localhost:5001 +INFO:werkzeug:Press CTRL+C to quit +INFO:werkzeug: * Restarting with stat +INFO:root:2023-07-19 10:16:05.249777 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-07-19 10:16:05.249777 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-07-19 10:16:05.249777 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-07-19 10:16:05.249777 : ++ FLASK PORT 5001 ++ +INFO:root:2023-07-19 10:16:05.251138 : ++ 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-19 10:21:05.340532+02:00 (in 299.997493 seconds) +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 632-522-489 +INFO:root:2023-07-19 10:16:06.046511 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [19/Jul/2023 10:16:06] "POST /myclass/api/Update_Partner_Client_Contact HTTP/1.1" 308 - +INFO:root:2023-07-19 10:16:06.054862 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [19/Jul/2023 10:16:06] "POST /myclass/api/Update_Partner_Client_Contact/ HTTP/1.1" 200 - +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 +INFO:root:2023-07-19 10:18:44.415958 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-07-19 10:18:44.416950 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-07-19 10:18:44.416950 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-07-19 10:18:44.416950 : ++ FLASK PORT 5001 ++ +INFO:root:2023-07-19 10:18:44.416950 : ++ 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-19 10:23:44.498585+02:00 (in 299.996715 seconds) +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 632-522-489 +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 +INFO:root:2023-07-19 10:20:30.964655 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-07-19 10:20:30.964655 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-07-19 10:20:30.964655 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-07-19 10:20:30.964655 : ++ FLASK PORT 5001 ++ +INFO:root:2023-07-19 10:20:30.964655 : ++ 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-19 10:25:31.035167+02:00 (in 299.997202 seconds) +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 632-522-489 +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-19 10:20:52 CEST)" (scheduled at 2023-07-19 10:20:52.226343+02:00) +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-19 10:25:52.226343+02:00 (in 299.834835 seconds) +INFO:root:2023-07-19 10:20:52.457606 : mercredi, 19. juillet 2023 10:20:52 : Envoie des données de prefacturation : - 0 clients ==> A 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-19 10:25: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 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\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 +INFO:apscheduler.scheduler:Scheduler 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-19 11:20:09.038974 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-07-19 11:20:09.039977 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-07-19 11:20:09.039977 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-07-19 11:20:09.039977 : ++ FLASK PORT 5001 ++ +INFO:root:2023-07-19 11:20:09.039977 : ++ 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-19 11:25:09.111092+02:00 (in 299.996401 seconds) +INFO:werkzeug:WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead. + * Running on http://localhost:5001 +INFO:werkzeug:Press CTRL+C to quit +INFO:werkzeug: * Restarting with stat +INFO:root:2023-07-19 11:20:18.353394 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-07-19 11:20:18.353394 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-07-19 11:20:18.353394 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-07-19 11:20:18.353394 : ++ FLASK PORT 5001 ++ +INFO:root:2023-07-19 11:20:18.353394 : ++ 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-19 11:25:18.407078+02:00 (in 299.997176 seconds) +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 632-522-489 +INFO:root:2023-07-19 11:20:56.903786 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [19/Jul/2023 11:20:56] "POST /myclass/api/Update_Partner_Client_Contact HTTP/1.1" 308 - +INFO:root:2023-07-19 11:20:56.912981 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [19/Jul/2023 11:20:56] "POST /myclass/api/Update_Partner_Client_Contact/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\partner_client.py', reloading +INFO:apscheduler.scheduler:Scheduler has been shut down +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added +INFO:werkzeug: * Restarting with stat +INFO:root:2023-07-19 11:23:07.745730 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-07-19 11:23:07.746730 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-07-19 11:23:07.746730 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-07-19 11:23:07.746730 : ++ FLASK PORT 5001 ++ +INFO:root:2023-07-19 11:23:07.746730 : ++ 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-19 11:28:07.801744+02:00 (in 299.997973 seconds) +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 632-522-489 +INFO:root:2023-07-19 11:23:59.281526 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [19/Jul/2023 11:23:59] "POST /myclass/api/Update_Partner_Client_Contact HTTP/1.1" 308 - +INFO:root:2023-07-19 11:23:59.287523 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [19/Jul/2023 11:23:59] "POST /myclass/api/Update_Partner_Client_Contact/ HTTP/1.1" 200 - +DEBUG:apscheduler.scheduler:Looking for jobs to run +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-19 11:25:09 CEST)" (scheduled at 2023-07-19 11:25:09.111092+02:00) +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-19 11:30:09.111092+02:00 (in 299.984397 seconds) +INFO:root:2023-07-19 11:25:09.131207 : mercredi, 19. juillet 2023 11:25: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:05:00], next run at: 2023-07-19 11:30: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 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +INFO:root:2023-07-19 11:27:36.964558 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [19/Jul/2023 11:27:36] "POST /myclass/api/Update_Partner_Client_Contact HTTP/1.1" 308 - +INFO:root:2023-07-19 11:27:36.971159 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [19/Jul/2023 11:27:36] "POST /myclass/api/Update_Partner_Client_Contact/ HTTP/1.1" 200 - +DEBUG:apscheduler.scheduler:Looking for jobs to run +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-19 11:28:07 CEST)" (scheduled at 2023-07-19 11:28:07.801744+02:00) +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-19 11:33:07.801744+02:00 (in 299.998084 seconds) +INFO:root:2023-07-19 11:28:07.806663 : mercredi, 19. juillet 2023 11: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:05:00], next run at: 2023-07-19 11:33: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 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +INFO:root:2023-07-19 11:29:08.456351 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [19/Jul/2023 11:29:08] "POST /myclass/api/Update_Partner_Client_Contact HTTP/1.1" 308 - +INFO:root:2023-07-19 11:29:08.462351 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [19/Jul/2023 11:29:08] "POST /myclass/api/Update_Partner_Client_Contact/ HTTP/1.1" 200 - +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-19 11:35:09.111092+02:00 (in 299.996580 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-19 11:35:09 CEST)" (scheduled at 2023-07-19 11:30:09.111092+02:00) +INFO:root:2023-07-19 11:30:09.117647 : mercredi, 19. juillet 2023 11:30: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:05:00], next run at: 2023-07-19 11:35: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 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-19 11:38:07.801744+02:00 (in 299.996174 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-19 11:38:07 CEST)" (scheduled at 2023-07-19 11:33:07.801744+02:00) +INFO:root:2023-07-19 11:33:07.807364 : mercredi, 19. juillet 2023 11:33: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:05:00], next run at: 2023-07-19 11: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 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-19 11:45:09.111092+02:00 (in 191.898388 seconds) +WARNING:apscheduler.executors.default:Run time of job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-19 11:45:09 CEST)" was missed by 0:01:48.102312 +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-19 11:48:07.801744+02:00 (in 191.892776 seconds) +WARNING:apscheduler.executors.default:Run time of job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-19 11:48:07 CEST)" was missed by 0:01:48.107224 +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-19 11:50:09.111092+02:00 (in 299.998658 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-19 11:50:09 CEST)" (scheduled at 2023-07-19 11:45:09.111092+02:00) +INFO:root:2023-07-19 11:45:09.114450 : mercredi, 19. juillet 2023 11:45: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:05:00], next run at: 2023-07-19 11: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 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-19 13:48:07.801744+02:00 (in 64.565972 seconds) +WARNING:apscheduler.executors.default:Run time of job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-19 13:48:07 CEST)" was missed by 0:03:55.435009 +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-19 13:53:07.801744+02:00 (in 299.997163 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-19 13:53:07 CEST)" (scheduled at 2023-07-19 13:48:07.801744+02:00) +INFO:root:2023-07-19 13:48:07.806675 : mercredi, 19. juillet 2023 01:48: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:05:00], next run at: 2023-07-19 13:53: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 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-19 13:50:09.111092+02:00 (in 64.565087 seconds) +WARNING:apscheduler.executors.default:Run time of job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-19 13:50:09 CEST)" was missed by 0:03:55.434913 +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-19 13:55:09.111092+02:00 (in 299.995811 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-19 13:55:09 CEST)" (scheduled at 2023-07-19 13:50:09.111092+02:00) +INFO:root:2023-07-19 13:50:09.117359 : mercredi, 19. juillet 2023 01:50: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:05:00], next run at: 2023-07-19 13:55: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 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-19 13:58:07.801744+02:00 (in 299.989809 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-19 13:58:07 CEST)" (scheduled at 2023-07-19 13:53:07.801744+02:00) +INFO:root:2023-07-19 13:53:07.814996 : mercredi, 19. juillet 2023 01:53: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:05:00], next run at: 2023-07-19 13:58: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 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-19 14:00:09.111092+02:00 (in 299.985747 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-19 14:00:09 CEST)" (scheduled at 2023-07-19 13:55:09.111092+02:00) +INFO:root:2023-07-19 13:55:09.128420 : mercredi, 19. juillet 2023 01:55: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:05:00], next run at: 2023-07-19 14:00: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 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-19 14:03:07.801744+02:00 (in 299.997340 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-19 14:03:07 CEST)" (scheduled at 2023-07-19 13:58:07.801744+02:00) +INFO:root:2023-07-19 13:58:07.806464 : mercredi, 19. juillet 2023 01:58: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:05:00], next run at: 2023-07-19 14:03: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 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-19 14:05:09.111092+02:00 (in 299.996723 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-19 14:05:09 CEST)" (scheduled at 2023-07-19 14:00:09.111092+02:00) +INFO:root:2023-07-19 14:00:09.116183 : mercredi, 19. juillet 2023 02:00: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:05:00], next run at: 2023-07-19 14:05: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 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-19 14:08:07.801744+02:00 (in 299.990682 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-19 14:08:07 CEST)" (scheduled at 2023-07-19 14:03:07.801744+02:00) +INFO:root:2023-07-19 14:03:07.813100 : mercredi, 19. juillet 2023 02:03: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:05:00], next run at: 2023-07-19 14:08: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 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-19 14:10:09.111092+02:00 (in 299.991784 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-19 14:10:09 CEST)" (scheduled at 2023-07-19 14:05:09.111092+02:00) +INFO:root:2023-07-19 14:05:09.121995 : mercredi, 19. juillet 2023 02:05: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:05:00], next run at: 2023-07-19 14:10: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 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-19 14:13:07.801744+02:00 (in 299.990339 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-19 14:13:07 CEST)" (scheduled at 2023-07-19 14:08:07.801744+02:00) +INFO:root:2023-07-19 14:08:07.813492 : mercredi, 19. juillet 2023 02:08: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:05:00], next run at: 2023-07-19 14:13: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 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-19 14:15:09.111092+02:00 (in 299.983138 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-19 14:15:09 CEST)" (scheduled at 2023-07-19 14:10:09.111092+02:00) +INFO:root:2023-07-19 14:10:09.130043 : mercredi, 19. juillet 2023 02:10: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:05:00], next run at: 2023-07-19 14:15: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 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-19 14:18:07.801744+02:00 (in 299.989783 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-19 14:18:07 CEST)" (scheduled at 2023-07-19 14:13:07.801744+02:00) +INFO:root:2023-07-19 14:13:07.813845 : mercredi, 19. juillet 2023 02:13: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:05:00], next run at: 2023-07-19 14:18: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 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-19 14:20:09.111092+02:00 (in 299.985845 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-19 14:20:09 CEST)" (scheduled at 2023-07-19 14:15:09.111092+02:00) +INFO:root:2023-07-19 14:15:09.127334 : mercredi, 19. juillet 2023 02:15: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:05:00], next run at: 2023-07-19 14:20: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 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-19 14:38:07.801744+02:00 (in 198.401364 seconds) +WARNING:apscheduler.executors.default:Run time of job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-19 14:38:07 CEST)" was missed by 0:01:41.598636 +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-19 14:40:09.111092+02:00 (in 198.396431 seconds) +WARNING:apscheduler.executors.default:Run time of job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-19 14:40:09 CEST)" was missed by 0:01:41.603569 +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-19 14:43:07.801744+02:00 (in 299.983479 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-19 14:43:07 CEST)" (scheduled at 2023-07-19 14:38:07.801744+02:00) +INFO:root:2023-07-19 14:38:07.820292 : mercredi, 19. juillet 2023 02:38: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:05:00], next run at: 2023-07-19 14:43: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 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-19 14:45:09.111092+02:00 (in 299.997933 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-19 14:45:09 CEST)" (scheduled at 2023-07-19 14:40:09.111092+02:00) +INFO:root:2023-07-19 14:40:09.116135 : mercredi, 19. juillet 2023 02:40: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:05:00], next run at: 2023-07-19 14: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 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-19 14:48:07.801744+02:00 (in 299.984062 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-19 14:48:07 CEST)" (scheduled at 2023-07-19 14:43:07.801744+02:00) +INFO:root:2023-07-19 14:43:07.820681 : mercredi, 19. juillet 2023 02:43: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:05:00], next run at: 2023-07-19 14:48: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 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-19 14:50:09.111092+02:00 (in 299.984286 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-19 14:50:09 CEST)" (scheduled at 2023-07-19 14:45:09.111092+02:00) +INFO:root:2023-07-19 14:45:09.129857 : mercredi, 19. juillet 2023 02:45: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:05:00], next run at: 2023-07-19 14: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 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-19 15:08:07.801744+02:00 (in 235.341960 seconds) +WARNING:apscheduler.executors.default:Run time of job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-19 15:08:07 CEST)" was missed by 0:01:04.660045 +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-19 15:10:09.111092+02:00 (in 235.342841 seconds) +WARNING:apscheduler.executors.default:Run time of job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-19 15:10:09 CEST)" was missed by 0:01:04.657159 +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-19 15:13:07.801744+02:00 (in 299.991668 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-19 15:13:07 CEST)" (scheduled at 2023-07-19 15:08:07.801744+02:00) +INFO:root:2023-07-19 15:08:07.812136 : mercredi, 19. juillet 2023 03:08: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:05:00], next run at: 2023-07-19 15:13: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 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-19 15:15:09.111092+02:00 (in 299.986216 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-19 15:15:09 CEST)" (scheduled at 2023-07-19 15:10:09.111092+02:00) +INFO:root:2023-07-19 15:10:09.128345 : mercredi, 19. juillet 2023 03:10: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:05:00], next run at: 2023-07-19 15:15: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 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-19 15:18:07.801744+02:00 (in 299.987483 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-19 15:18:07 CEST)" (scheduled at 2023-07-19 15:13:07.801744+02:00) +INFO:root:2023-07-19 15:13:07.816281 : mercredi, 19. juillet 2023 03:13: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:05:00], next run at: 2023-07-19 15:18: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 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-19 15:20:09.111092+02:00 (in 299.988845 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-19 15:20:09 CEST)" (scheduled at 2023-07-19 15:15:09.111092+02:00) +INFO:root:2023-07-19 15:15:09.124266 : mercredi, 19. juillet 2023 03:15: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:05:00], next run at: 2023-07-19 15:20: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 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-19 15:23:07.801744+02:00 (in 299.983444 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-19 15:23:07 CEST)" (scheduled at 2023-07-19 15:18:07.801744+02:00) +INFO:root:2023-07-19 15:18:07.821316 : mercredi, 19. juillet 2023 03: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:05:00], next run at: 2023-07-19 15:23: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 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-19 15:25:09.111092+02:00 (in 299.993527 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-19 15:25:09 CEST)" (scheduled at 2023-07-19 15:20:09.111092+02:00) +INFO:root:2023-07-19 15:20:09.121244 : mercredi, 19. juillet 2023 03:20: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:05:00], next run at: 2023-07-19 15:25: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 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-19 15:28:07.801744+02:00 (in 299.989037 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-19 15:28:07 CEST)" (scheduled at 2023-07-19 15:23:07.801744+02:00) +INFO:root:2023-07-19 15:23:07.814711 : mercredi, 19. juillet 2023 03:23: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:05:00], next run at: 2023-07-19 15: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 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +INFO:apscheduler.scheduler:Scheduler has been shut down +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added +INFO:apscheduler.scheduler:Scheduler has been shut down +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added +INFO:root:2023-07-19 16:21:33.628891 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-07-19 16:21:33.628891 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-07-19 16:21:33.628891 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-07-19 16:21:33.628891 : ++ FLASK PORT 5001 ++ +INFO:root:2023-07-19 16:21:33.628891 : ++ 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-19 16:26:33.821421+02:00 (in 299.995172 seconds) +INFO:werkzeug:WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead. + * Running on http://localhost:5001 +INFO:werkzeug:Press CTRL+C to quit +INFO:werkzeug: * Restarting with stat +INFO:root:2023-07-19 16:21:46.950678 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-07-19 16:21:46.952108 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-07-19 16:21:46.952108 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-07-19 16:21:46.952108 : ++ FLASK PORT 5001 ++ +INFO:root:2023-07-19 16:21:46.952108 : ++ 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-19 16:26:47.018710+02:00 (in 299.995850 seconds) +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 632-522-489 +INFO:root:2023-07-19 16:22:33.147072 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-07-19 16:22:33.149120 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-07-19 16:22:33.151322 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [19/Jul/2023 16:22:33] "POST /myclass/api/get_List_domaine_formation/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Jul/2023 16:22:33] "POST /myclass/api/Get_Suggested_Fr_Cities/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Jul/2023 16:22:33] "POST /myclass/api/Get_Suggested_Word/ HTTP/1.1" 200 - +INFO:root:2023-07-19 16:22:33.547421 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-07-19 16:22:33.550551 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [19/Jul/2023 16:22:33] "POST /myclass/api/get_all_class/ HTTP/1.1" 200 - +INFO:root:2023-07-19 16:22:34.623448 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-07-19 16:22:34.626470 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-07-19 16:22:34.629974 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [19/Jul/2023 16:22:34] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2023-07-19 16:22:34.639884 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-07-19 16:22:34.639884 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-07-19 16:22:34.640897 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [19/Jul/2023 16:22:34] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Jul/2023 16:22:34] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Jul/2023 16:22:34] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Jul/2023 16:22:34] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Jul/2023 16:22:34] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2023-07-19 16:22:34.951072 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-07-19 16:22:34.955006 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [19/Jul/2023 16:22:34] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Jul/2023 16:22:34] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2023-07-19 16:22:34.965969 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-07-19 16:22:34.966983 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-07-19 16:22:34.969003 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-07-19 16:22:34.970000 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [19/Jul/2023 16:22:34] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Jul/2023 16:22:34] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Jul/2023 16:22:34] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Jul/2023 16:22:34] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2023-07-19 16:22:35.265915 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [19/Jul/2023 16:22:35] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:root:2023-07-19 16:22:35.272510 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [19/Jul/2023 16:22:35] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2023-07-19 16:22:35.288094 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-07-19 16:22:35.289182 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-07-19 16:22:35.291252 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-07-19 16:22:35.292238 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [19/Jul/2023 16:22:35] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Jul/2023 16:22:35] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Jul/2023 16:22:35] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Jul/2023 16:22:35] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2023-07-19 16:22:35.575114 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [19/Jul/2023 16:22:35] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:root:2023-07-19 16:22:35.582122 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [19/Jul/2023 16:22:35] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +DEBUG:apscheduler.scheduler:Looking for jobs to run +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-19 16:26:33 CEST)" (scheduled at 2023-07-19 16:26:33.821421+02:00) +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-19 16:31:33.821421+02:00 (in 299.991102 seconds) +INFO:root:2023-07-19 16:26:33.837716 : mercredi, 19. juillet 2023 04:26: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:05:00], next run at: 2023-07-19 16:31: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 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-19 16:26:47 CEST)" (scheduled at 2023-07-19 16:26:47.018710+02:00) +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-19 16:31:47.018710+02:00 (in 299.989815 seconds) +INFO:root:2023-07-19 16:26:47.033087 : mercredi, 19. juillet 2023 04: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:05:00], next run at: 2023-07-19 16:31: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 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +INFO:root:2023-07-19 16:27:05.521286 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-07-19 16:27:05.524466 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-07-19 16:27:05.528140 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [19/Jul/2023 16:27:05] "POST /myclass/api/get_List_domaine_formation/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Jul/2023 16:27:05] "POST /myclass/api/Get_Suggested_Fr_Cities/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Jul/2023 16:27:05] "POST /myclass/api/Get_Suggested_Word/ HTTP/1.1" 200 - +INFO:root:2023-07-19 16:27:06.572915 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-07-19 16:27:06.577117 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [19/Jul/2023 16:27:06] "POST /myclass/api/get_all_class/ HTTP/1.1" 200 - +INFO:root:2023-07-19 16:27:07.576413 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [19/Jul/2023 16:27:07] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:root:2023-07-19 16:27:07.587436 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-07-19 16:27:07.593204 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [19/Jul/2023 16:27:07] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2023-07-19 16:27:07.599647 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [19/Jul/2023 16:27:07] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:root:2023-07-19 16:27:07.604165 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-07-19 16:27:07.608422 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [19/Jul/2023 16:27:07] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2023-07-19 16:27:07.618550 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [19/Jul/2023 16:27:07] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Jul/2023 16:27:07] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2023-07-19 16:27:07.628702 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [19/Jul/2023 16:27:07] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:root:2023-07-19 16:27:07.635972 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-07-19 16:27:07.643492 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [19/Jul/2023 16:27:07] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Jul/2023 16:27:07] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:root:2023-07-19 16:27:07.652165 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-07-19 16:27:07.657718 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [19/Jul/2023 16:27:07] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Jul/2023 16:27:07] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:root:2023-07-19 16:27:07.665341 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-07-19 16:27:07.670336 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [19/Jul/2023 16:27:07] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2023-07-19 16:27:07.678602 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-07-19 16:27:07.682602 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [19/Jul/2023 16:27:07] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:root:2023-07-19 16:27:07.690363 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [19/Jul/2023 16:27:07] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Jul/2023 16:27:07] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:root:2023-07-19 16:27:07.698291 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [19/Jul/2023 16:27:07] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Jul/2023 16:27:07] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2023-07-19 16:27:07.704409 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-07-19 16:27:07.709588 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [19/Jul/2023 16:27:07] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Jul/2023 16:27:07] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Jul/2023 16:27:07] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2023-07-19 16:27:14.907685 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [19/Jul/2023 16:27:14] "POST /myclass/api/partner_login/ HTTP/1.1" 200 - +INFO:root:2023-07-19 16:27:15.222016 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-07-19 16:27:15.229247 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-07-19 16:27:15.234529 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [19/Jul/2023 16:27:15] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-07-19 16:27:15.239818 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-07-19 16:27:15.252552 : Connexion du partner recid = 8a77c1642a21a9a417a8583f4ef7f2f9c174a99996abb4c63a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [19/Jul/2023 16:27:15] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Jul/2023 16:27:15] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Jul/2023 16:27:15] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-07-19 16:27:15.752262 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [19/Jul/2023 16:27:15] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 - +INFO:root:2023-07-19 16:30:38.892304 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-07-19 16:30:38.897879 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [19/Jul/2023 16:30:38] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-07-19 16:30:38.902897 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-07-19 16:30:38.906185 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-07-19 16:30:38.913214 : Connexion du partner recid = 8a77c1642a21a9a417a8583f4ef7f2f9c174a99996abb4c63a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [19/Jul/2023 16:30:38] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Jul/2023 16:30:38] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Jul/2023 16:30:38] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-19 16:36:33.821421+02:00 (in 299.982887 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-19 16:36:33 CEST)" (scheduled at 2023-07-19 16:31:33.821421+02:00) +INFO:root:2023-07-19 16:31:33.850080 : mercredi, 19. juillet 2023 04:31: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:05:00], next run at: 2023-07-19 16:36:33 CEST)" raised an exception +Traceback (most recent call last): + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job + retval = job.func(*job.args, **job.kwargs) + File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-19 16:36:47.018710+02:00 (in 299.997105 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-19 16:36:47 CEST)" (scheduled at 2023-07-19 16:31:47.018710+02:00) +INFO:root:2023-07-19 16:31:47.023609 : mercredi, 19. juillet 2023 04:31:47 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-19 16:36: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 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +INFO:root:2023-07-19 16:32:16.760256 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [19/Jul/2023 16:32:16] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-07-19 16:32:16.770985 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-07-19 16:32:16.776402 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-07-19 16:32:16.779458 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [19/Jul/2023 16:32:16] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:root:2023-07-19 16:32:16.791035 : Connexion du partner recid = 8a77c1642a21a9a417a8583f4ef7f2f9c174a99996abb4c63a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [19/Jul/2023 16:32:16] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Jul/2023 16:32:16] "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-19 16:41:33.821421+02:00 (in 299.997485 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-19 16:41:33 CEST)" (scheduled at 2023-07-19 16:36:33.821421+02:00) +INFO:root:2023-07-19 16:36:33.826508 : mercredi, 19. juillet 2023 04:36:33 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-19 16:41: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 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-19 16:41:47.018710+02:00 (in 299.985907 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-19 16:41:47 CEST)" (scheduled at 2023-07-19 16:36:47.018710+02:00) +INFO:root:2023-07-19 16:36:47.035049 : mercredi, 19. juillet 2023 04:36:47 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-19 16: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 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-19 16:46:33.821421+02:00 (in 299.984551 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-19 16:46:33 CEST)" (scheduled at 2023-07-19 16:41:33.821421+02:00) +INFO:root:2023-07-19 16:41:33.839137 : mercredi, 19. juillet 2023 04:41: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:05:00], next run at: 2023-07-19 16:46: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 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-19 16:46:47.018710+02:00 (in 299.987494 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-19 16:46:47 CEST)" (scheduled at 2023-07-19 16:41:47.018710+02:00) +INFO:root:2023-07-19 16:41:47.034018 : mercredi, 19. juillet 2023 04:41:47 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-19 16:46: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 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-19 16:51:33.821421+02:00 (in 299.985321 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-19 16:51:33 CEST)" (scheduled at 2023-07-19 16:46:33.821421+02:00) +INFO:root:2023-07-19 16:46:33.846100 : mercredi, 19. juillet 2023 04:46: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:05:00], next run at: 2023-07-19 16:51:33 CEST)" raised an exception +Traceback (most recent call last): + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job + retval = job.func(*job.args, **job.kwargs) + File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-19 16:51:47.018710+02:00 (in 299.986540 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-19 16:51:47 CEST)" (scheduled at 2023-07-19 16:46:47.018710+02:00) +INFO:root:2023-07-19 16:46:47.034139 : mercredi, 19. juillet 2023 04:46:47 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-19 16: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 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +INFO:root:2023-07-19 16:48:57.131474 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-07-19 16:48:57.135356 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [19/Jul/2023 16:48:57] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-07-19 16:48:57.141934 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-07-19 16:48:57.148062 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-07-19 16:48:57.156127 : Connexion du partner recid = 8a77c1642a21a9a417a8583f4ef7f2f9c174a99996abb4c63a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [19/Jul/2023 16:48:57] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Jul/2023 16:48:57] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Jul/2023 16:48:57] "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-19 16:56:33.821421+02:00 (in 299.985971 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-19 16:56:33 CEST)" (scheduled at 2023-07-19 16:51:33.821421+02:00) +INFO:root:2023-07-19 16:51:33.839570 : mercredi, 19. juillet 2023 04:51:33 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-19 16:56: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 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-19 16:56:47.018710+02:00 (in 299.989934 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-19 16:56:47 CEST)" (scheduled at 2023-07-19 16:51:47.018710+02:00) +INFO:root:2023-07-19 16:51:47.031324 : mercredi, 19. juillet 2023 04:51:47 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-19 16:56: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 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +INFO:root:2023-07-19 16:51:54.262394 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-07-19 16:51:54.276177 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [19/Jul/2023 16:51:54] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-07-19 16:51:54.283736 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-07-19 16:51:54.288304 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-07-19 16:51:54.302657 : Connexion du partner recid = 8a77c1642a21a9a417a8583f4ef7f2f9c174a99996abb4c63a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [19/Jul/2023 16:51:54] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Jul/2023 16:51:54] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Jul/2023 16:51:54] "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-19 17:01:33.821421+02:00 (in 299.987122 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-19 17:01:33 CEST)" (scheduled at 2023-07-19 16:56:33.821421+02:00) +INFO:root:2023-07-19 16:56:33.839285 : mercredi, 19. juillet 2023 04:56: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:05:00], next run at: 2023-07-19 17:01: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 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-19 17:01:47.018710+02:00 (in 299.994516 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-19 17:01:47 CEST)" (scheduled at 2023-07-19 16:56:47.018710+02:00) +INFO:root:2023-07-19 16:56:47.026479 : mercredi, 19. juillet 2023 04:56:47 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-19 17:01: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 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +INFO:root:2023-07-19 16:58:19.939579 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-07-19 16:58:19.944475 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-07-19 16:58:19.949658 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [19/Jul/2023 16:58:19] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-07-19 16:58:19.959897 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-07-19 16:58:19.963253 : Connexion du partner recid = 8a77c1642a21a9a417a8583f4ef7f2f9c174a99996abb4c63a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [19/Jul/2023 16:58:19] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Jul/2023 16:58:19] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Jul/2023 16:58:19] "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-19 17:06:33.821421+02:00 (in 299.985221 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-19 17:06:33 CEST)" (scheduled at 2023-07-19 17:01:33.821421+02:00) +INFO:root:2023-07-19 17:01:33.866367 : mercredi, 19. juillet 2023 05:01: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:05:00], next run at: 2023-07-19 17:06:33 CEST)" raised an exception +Traceback (most recent call last): + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job + retval = job.func(*job.args, **job.kwargs) + File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-19 17:06:47.018710+02:00 (in 299.996144 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-19 17:06:47 CEST)" (scheduled at 2023-07-19 17:01:47.018710+02:00) +INFO:root:2023-07-19 17:01:47.024560 : mercredi, 19. juillet 2023 05:01:47 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-19 17:06: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 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-19 17:11:33.821421+02:00 (in 299.995452 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-19 17:11:33 CEST)" (scheduled at 2023-07-19 17:06:33.821421+02:00) +INFO:root:2023-07-19 17:06:33.828067 : mercredi, 19. juillet 2023 05:06:33 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-19 17:11: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 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-19 17:11:47.018710+02:00 (in 299.994266 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-19 17:11:47 CEST)" (scheduled at 2023-07-19 17:06:47.018710+02:00) +INFO:root:2023-07-19 17:06:47.027891 : mercredi, 19. juillet 2023 05:06:47 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-19 17:11: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 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +INFO:root:2023-07-19 17:07:23.227117 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-07-19 17:07:23.234156 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-07-19 17:07:23.240586 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [19/Jul/2023 17:07:23] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-07-19 17:07:23.251036 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-07-19 17:07:23.264622 : Connexion du partner recid = 8a77c1642a21a9a417a8583f4ef7f2f9c174a99996abb4c63a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [19/Jul/2023 17:07:23] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Jul/2023 17:07:23] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Jul/2023 17:07:23] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-07-19 17:07:24.626914 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [19/Jul/2023 17:07:24] "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-19 17:16:33.821421+02:00 (in 299.988226 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-19 17:16:33 CEST)" (scheduled at 2023-07-19 17:11:33.821421+02:00) +INFO:root:2023-07-19 17:11:33.835533 : mercredi, 19. juillet 2023 05:11: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:05:00], next run at: 2023-07-19 17:16: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 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-19 17:16:47.018710+02:00 (in 299.993177 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-19 17:16:47 CEST)" (scheduled at 2023-07-19 17:11:47.018710+02:00) +INFO:root:2023-07-19 17:11:47.027551 : mercredi, 19. juillet 2023 05:11:47 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-19 17:16: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 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-19 17:21:33.821421+02:00 (in 299.990863 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-19 17:21:33 CEST)" (scheduled at 2023-07-19 17:16:33.821421+02:00) +INFO:root:2023-07-19 17:16:33.834063 : mercredi, 19. juillet 2023 05:16: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:05:00], next run at: 2023-07-19 17:21:33 CEST)" raised an exception +Traceback (most recent call last): + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job + retval = job.func(*job.args, **job.kwargs) + File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-19 17:21:47.018710+02:00 (in 299.988088 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-19 17:21:47 CEST)" (scheduled at 2023-07-19 17:16:47.018710+02:00) +INFO:root:2023-07-19 17:16:47.033957 : mercredi, 19. juillet 2023 05:16:47 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-19 17:21: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 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-19 17:26:33.821421+02:00 (in 299.986242 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-19 17:26:33 CEST)" (scheduled at 2023-07-19 17:21:33.821421+02:00) +INFO:root:2023-07-19 17:21:33.845859 : mercredi, 19. juillet 2023 05:21:33 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-19 17:26: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 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-19 17:26:47.018710+02:00 (in 299.997392 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-19 17:26:47 CEST)" (scheduled at 2023-07-19 17:21:47.018710+02:00) +INFO:root:2023-07-19 17:21:47.023298 : mercredi, 19. juillet 2023 05:21:47 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-19 17:26: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 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-19 17:31:33.821421+02:00 (in 299.988068 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-19 17:31:33 CEST)" (scheduled at 2023-07-19 17:26:33.821421+02:00) +INFO:root:2023-07-19 17:26:33.836377 : mercredi, 19. juillet 2023 05:26: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:05:00], next run at: 2023-07-19 17:31: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 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-19 17:31:47.018710+02:00 (in 299.995381 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-19 17:31:47 CEST)" (scheduled at 2023-07-19 17:26:47.018710+02:00) +INFO:root:2023-07-19 17:26:47.025304 : mercredi, 19. juillet 2023 05: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:05:00], next run at: 2023-07-19 17:31: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 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-19 17:36:33.821421+02:00 (in 299.987530 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-19 17:36:33 CEST)" (scheduled at 2023-07-19 17:31:33.821421+02:00) +INFO:root:2023-07-19 17:31:33.836271 : mercredi, 19. juillet 2023 05:31: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:05:00], next run at: 2023-07-19 17:36:33 CEST)" raised an exception +Traceback (most recent call last): + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job + retval = job.func(*job.args, **job.kwargs) + File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-19 17:36:47.018710+02:00 (in 299.994098 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-19 17:36:47 CEST)" (scheduled at 2023-07-19 17:31:47.018710+02:00) +INFO:root:2023-07-19 17:31:47.028204 : mercredi, 19. juillet 2023 05:31:47 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-19 17:36: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 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-19 17:41:33.821421+02:00 (in 299.993891 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-19 17:41:33 CEST)" (scheduled at 2023-07-19 17:36:33.821421+02:00) +INFO:root:2023-07-19 17:36:33.830058 : mercredi, 19. juillet 2023 05:36:33 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-19 17:41: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 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-19 17:41:47.018710+02:00 (in 299.997436 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-19 17:41:47 CEST)" (scheduled at 2023-07-19 17:36:47.018710+02:00) +INFO:root:2023-07-19 17:36:47.030657 : mercredi, 19. juillet 2023 05:36:47 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-19 17: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 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-19 17:46:33.821421+02:00 (in 299.995570 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-19 17:46:33 CEST)" (scheduled at 2023-07-19 17:41:33.821421+02:00) +INFO:root:2023-07-19 17:41:33.834086 : mercredi, 19. juillet 2023 05:41: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:05:00], next run at: 2023-07-19 17:46: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 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-19 17:46:47.018710+02:00 (in 299.977638 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-19 17:46:47 CEST)" (scheduled at 2023-07-19 17:41:47.018710+02:00) +INFO:root:2023-07-19 17:41:47.043475 : mercredi, 19. juillet 2023 05:41:47 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-19 17:46: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 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-19 17:51:33.821421+02:00 (in 299.979067 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-19 17:51:33 CEST)" (scheduled at 2023-07-19 17:46:33.821421+02:00) +INFO:root:2023-07-19 17:46:33.845350 : mercredi, 19. juillet 2023 05:46: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:05:00], next run at: 2023-07-19 17:51:33 CEST)" raised an exception +Traceback (most recent call last): + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job + retval = job.func(*job.args, **job.kwargs) + File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-19 17:51:47.018710+02:00 (in 299.997543 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-19 17:51:47 CEST)" (scheduled at 2023-07-19 17:46:47.018710+02:00) +INFO:root:2023-07-19 17:46:47.024192 : mercredi, 19. juillet 2023 05:46:47 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-19 17: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 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-19 17:56:33.821421+02:00 (in 299.989090 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-19 17:56:33 CEST)" (scheduled at 2023-07-19 17:51:33.821421+02:00) +INFO:root:2023-07-19 17:51:33.834858 : mercredi, 19. juillet 2023 05:51:33 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-19 17:56: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 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-19 17:56:47.018710+02:00 (in 299.995019 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-19 17:56:47 CEST)" (scheduled at 2023-07-19 17:51:47.018710+02:00) +INFO:root:2023-07-19 17:51:47.025702 : mercredi, 19. juillet 2023 05:51:47 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-19 17:56: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 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-19 18:01:33.821421+02:00 (in 299.994049 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-19 18:01:33 CEST)" (scheduled at 2023-07-19 17:56:33.821421+02:00) +INFO:root:2023-07-19 17:56:33.831152 : mercredi, 19. juillet 2023 05:56: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:05:00], next run at: 2023-07-19 18:01: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 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-19 18:01:47.018710+02:00 (in 299.997042 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-19 18:01:47 CEST)" (scheduled at 2023-07-19 17:56:47.018710+02:00) +INFO:root:2023-07-19 17:56:47.023991 : mercredi, 19. juillet 2023 05:56:47 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-19 18:01: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 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-19 18:06:33.821421+02:00 (in 299.986849 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-19 18:06:33 CEST)" (scheduled at 2023-07-19 18:01:33.821421+02:00) +INFO:root:2023-07-19 18:01:33.836681 : mercredi, 19. juillet 2023 06:01: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:05:00], next run at: 2023-07-19 18:06:33 CEST)" raised an exception +Traceback (most recent call last): + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job + retval = job.func(*job.args, **job.kwargs) + File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-19 18:06:47.018710+02:00 (in 299.984920 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-19 18:06:47 CEST)" (scheduled at 2023-07-19 18:01:47.018710+02:00) +INFO:root:2023-07-19 18:01:47.037295 : mercredi, 19. juillet 2023 06:01:47 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-19 18:06: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 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-19 18:11:33.821421+02:00 (in 299.993118 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-19 18:11:33 CEST)" (scheduled at 2023-07-19 18:06:33.821421+02:00) +INFO:root:2023-07-19 18:06:33.830769 : mercredi, 19. juillet 2023 06:06:33 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-19 18:11: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 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-19 18:11:47.018710+02:00 (in 299.984841 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-19 18:11:47 CEST)" (scheduled at 2023-07-19 18:06:47.018710+02:00) +INFO:root:2023-07-19 18:06:47.035873 : mercredi, 19. juillet 2023 06:06:47 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-19 18:11: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 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-19 18:16:33.821421+02:00 (in 299.997129 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-19 18:16:33 CEST)" (scheduled at 2023-07-19 18:11:33.821421+02:00) +INFO:root:2023-07-19 18:11:33.826732 : mercredi, 19. juillet 2023 06:11: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:05:00], next run at: 2023-07-19 18:16: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 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-19 18:16:47.018710+02:00 (in 299.992803 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-19 18:16:47 CEST)" (scheduled at 2023-07-19 18:11:47.018710+02:00) +INFO:root:2023-07-19 18:11:47.028278 : mercredi, 19. juillet 2023 06:11:47 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-19 18:16: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 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-19 18:21:33.821421+02:00 (in 299.988334 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-19 18:21:33 CEST)" (scheduled at 2023-07-19 18:16:33.821421+02:00) +INFO:root:2023-07-19 18:16:33.835499 : mercredi, 19. juillet 2023 06:16: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:05:00], next run at: 2023-07-19 18:21:33 CEST)" raised an exception +Traceback (most recent call last): + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job + retval = job.func(*job.args, **job.kwargs) + File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-19 18:21:47.018710+02:00 (in 299.985305 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-19 18:21:47 CEST)" (scheduled at 2023-07-19 18:16:47.018710+02:00) +INFO:root:2023-07-19 18:16:47.037055 : mercredi, 19. juillet 2023 06:16:47 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-19 18:21: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 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-19 18:26:33.821421+02:00 (in 299.989192 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-19 18:26:33 CEST)" (scheduled at 2023-07-19 18:21:33.821421+02:00) +INFO:root:2023-07-19 18:21:33.834468 : mercredi, 19. juillet 2023 06:21:33 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-19 18:26: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 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-19 18:26:47.018710+02:00 (in 299.983070 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-19 18:26:47 CEST)" (scheduled at 2023-07-19 18:21:47.018710+02:00) +INFO:root:2023-07-19 18:21:47.037390 : mercredi, 19. juillet 2023 06:21:47 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-19 18:26: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 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-19 18:31:33.821421+02:00 (in 299.996891 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-19 18:31:33 CEST)" (scheduled at 2023-07-19 18:26:33.821421+02:00) +INFO:root:2023-07-19 18:26:33.833077 : mercredi, 19. juillet 2023 06:26: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:05:00], next run at: 2023-07-19 18:31: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 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-19 18:31:47.018710+02:00 (in 299.991766 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-19 18:31:47 CEST)" (scheduled at 2023-07-19 18:26:47.018710+02:00) +INFO:root:2023-07-19 18:26:47.028831 : mercredi, 19. juillet 2023 06: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:05:00], next run at: 2023-07-19 18:31: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 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-19 18:36:33.821421+02:00 (in 299.994070 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-19 18:36:33 CEST)" (scheduled at 2023-07-19 18:31:33.821421+02:00) +INFO:root:2023-07-19 18:31:33.837246 : mercredi, 19. juillet 2023 06:31: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:05:00], next run at: 2023-07-19 18:36:33 CEST)" raised an exception +Traceback (most recent call last): + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job + retval = job.func(*job.args, **job.kwargs) + File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-19 18:36:47.018710+02:00 (in 299.991251 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-19 18:36:47 CEST)" (scheduled at 2023-07-19 18:31:47.018710+02:00) +INFO:root:2023-07-19 18:31:47.030303 : mercredi, 19. juillet 2023 06:31:47 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-19 18:36: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 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-19 18:41:33.821421+02:00 (in 298.414449 seconds) +WARNING:apscheduler.executors.default:Run time of job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-19 18:41:33 CEST)" was missed by 0:00:01.586668 +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-19 18:41:47.018710+02:00 (in 298.408208 seconds) +WARNING:apscheduler.executors.default:Run time of job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-19 18:41:47 CEST)" was missed by 0:00:01.592861 +INFO:apscheduler.scheduler:Scheduler has been shut down +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added +INFO:apscheduler.scheduler:Scheduler has been shut down +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added +INFO:root:2023-07-20 11:57:11.202697 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-07-20 11:57:11.203696 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-07-20 11:57:11.203696 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-07-20 11:57:11.203696 : ++ FLASK PORT 5001 ++ +INFO:root:2023-07-20 11:57:11.203696 : ++ 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-20 12:02:11.298277+02:00 (in 299.994637 seconds) +INFO:werkzeug:WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead. + * Running on http://localhost:5001 +INFO:werkzeug:Press CTRL+C to quit +INFO:werkzeug: * Restarting with stat +INFO:root:2023-07-20 11:57:24.565167 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-07-20 11:57:24.565167 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-07-20 11:57:24.565167 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-07-20 11:57:24.565167 : ++ FLASK PORT 5001 ++ +INFO:root:2023-07-20 11:57:24.565167 : ++ 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-20 12:02:24.665592+02:00 (in 299.995805 seconds) +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 632-522-489 +INFO:apscheduler.scheduler:Scheduler has been shut down +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added +INFO:apscheduler.scheduler:Scheduler has been shut down +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added +INFO:root:2023-07-21 14:36:35.395905 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-07-21 14:36:35.397206 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-07-21 14:36:35.397206 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-07-21 14:36:35.397206 : ++ FLASK PORT 5001 ++ +INFO:root:2023-07-21 14:36:35.397206 : ++ 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-21 14:41:35.508085+02:00 (in 299.993998 seconds) +INFO:werkzeug:WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead. + * Running on http://localhost:5001 +INFO:werkzeug:Press CTRL+C to quit +INFO:werkzeug: * Restarting with stat +INFO:root:2023-07-21 14:36:52.199284 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-07-21 14:36:52.199284 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-07-21 14:36:52.199284 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-07-21 14:36:52.200305 : ++ FLASK PORT 5001 ++ +INFO:root:2023-07-21 14:36:52.200305 : ++ 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-21 14:41:52.316735+02:00 (in 299.965997 seconds) +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 632-522-489 +INFO:root:2023-07-21 14:36:52.485466 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-07-21 14:36:52.486480 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-07-21 14:36:52.488870 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-07-21 14:36:52.490925 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-07-21 14:36:52.493082 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [21/Jul/2023 14:36:52] "POST /myclass/api/get_List_domaine_formation/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [21/Jul/2023 14:36:52] "POST /myclass/api/Get_Suggested_Fr_Cities/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [21/Jul/2023 14:36:52] "POST /myclass/api/Get_Suggested_Word/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [21/Jul/2023 14:36:52] "POST /myclass/api/get_all_class/ HTTP/1.1" 200 - +INFO:root:2023-07-21 14:36:53.420769 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-07-21 14:36:53.421891 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-07-21 14:36:53.422930 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-07-21 14:36:53.422930 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-07-21 14:36:53.423934 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-07-21 14:36:53.424934 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [21/Jul/2023 14:36:53] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [21/Jul/2023 14:36:53] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [21/Jul/2023 14:36:53] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [21/Jul/2023 14:36:53] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [21/Jul/2023 14:36:53] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [21/Jul/2023 14:36:53] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:root:2023-07-21 14:36:53.749509 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-07-21 14:36:53.751210 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-07-21 14:36:53.751210 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-07-21 14:36:53.752260 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-07-21 14:36:53.753261 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-07-21 14:36:53.760462 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [21/Jul/2023 14:36:53] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [21/Jul/2023 14:36:53] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [21/Jul/2023 14:36:53] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [21/Jul/2023 14:36:53] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [21/Jul/2023 14:36:53] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [21/Jul/2023 14:36:53] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2023-07-21 14:36:54.080849 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-07-21 14:36:54.081862 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-07-21 14:36:54.083280 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-07-21 14:36:54.084320 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-07-21 14:36:54.085829 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-07-21 14:36:54.086848 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [21/Jul/2023 14:36:54] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [21/Jul/2023 14:36:54] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [21/Jul/2023 14:36:54] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [21/Jul/2023 14:36:54] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [21/Jul/2023 14:36:54] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [21/Jul/2023 14:36:54] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2023-07-21 14:36:54.419716 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-07-21 14:36:54.420714 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [21/Jul/2023 14:36:54] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [21/Jul/2023 14:36:54] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +DEBUG:apscheduler.scheduler:Looking for jobs to run +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-21 14:41:35 CEST)" (scheduled at 2023-07-21 14:41:35.508085+02:00) +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-21 14:46:35.508085+02:00 (in 299.986392 seconds) +INFO:root:2023-07-21 14:41:35.532373 : vendredi, 21. juillet 2023 02:41:35 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-21 14:46:35 CEST)" raised an exception +Traceback (most recent call last): + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job + retval = job.func(*job.args, **job.kwargs) + File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-21 14:41:52 CEST)" (scheduled at 2023-07-21 14:41:52.316735+02:00) +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-21 14:46:52.316735+02:00 (in 299.993769 seconds) +INFO:root:2023-07-21 14:41:52.326255 : vendredi, 21. juillet 2023 02:41:52 : Envoie des données de prefacturation : - 0 clients ==> A 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-21 14:46: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 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-21 14:51:35.508085+02:00 (in 299.991132 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-21 14:51:35 CEST)" (scheduled at 2023-07-21 14:46:35.508085+02:00) +INFO:root:2023-07-21 14:46:35.520867 : vendredi, 21. juillet 2023 02:46:35 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-21 14: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 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-21 14:51:52.316735+02:00 (in 299.991997 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-21 14:51:52 CEST)" (scheduled at 2023-07-21 14:46:52.316735+02:00) +INFO:root:2023-07-21 14:46:52.333458 : vendredi, 21. juillet 2023 02:46:52 : Envoie des données de prefacturation : - 0 clients ==> A 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-21 14:51: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 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-21 14:56:35.508085+02:00 (in 299.992047 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-21 14:56:35 CEST)" (scheduled at 2023-07-21 14:51:35.508085+02:00) +INFO:root:2023-07-21 14:51:35.518372 : vendredi, 21. juillet 2023 02:51:35 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-21 14:56:35 CEST)" raised an exception +Traceback (most recent call last): + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job + retval = job.func(*job.args, **job.kwargs) + File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-21 14:56:52.316735+02:00 (in 299.987085 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-21 14:56:52 CEST)" (scheduled at 2023-07-21 14:51:52.316735+02:00) +INFO:root:2023-07-21 14:51:52.331706 : vendredi, 21. juillet 2023 02:51:52 : Envoie des données de prefacturation : - 0 clients ==> A 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-21 14:56: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 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-21 15:01:35.508085+02:00 (in 299.994405 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-21 15:01:35 CEST)" (scheduled at 2023-07-21 14:56:35.508085+02:00) +INFO:root:2023-07-21 14:56:35.524412 : vendredi, 21. juillet 2023 02:56:35 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-21 15:01:35 CEST)" raised an exception +Traceback (most recent call last): + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job + retval = job.func(*job.args, **job.kwargs) + File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-21 15:01:52.316735+02:00 (in 299.988255 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-21 15:01:52 CEST)" (scheduled at 2023-07-21 14:56:52.316735+02:00) +INFO:root:2023-07-21 14:56:52.332487 : vendredi, 21. juillet 2023 02:56:52 : Envoie des données de prefacturation : - 0 clients ==> A 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-21 15:01: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 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-21 15:06:35.508085+02:00 (in 299.987528 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-21 15:06:35 CEST)" (scheduled at 2023-07-21 15:01:35.508085+02:00) +INFO:root:2023-07-21 15:01:35.523034 : vendredi, 21. juillet 2023 03:01:35 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-21 15:06:35 CEST)" raised an exception +Traceback (most recent call last): + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job + retval = job.func(*job.args, **job.kwargs) + File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-21 15:06:52.316735+02:00 (in 299.990304 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-21 15:06:52 CEST)" (scheduled at 2023-07-21 15:01:52.316735+02:00) +INFO:root:2023-07-21 15:01:52.329436 : vendredi, 21. juillet 2023 03:01:52 : Envoie des données de prefacturation : - 0 clients ==> A 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-21 15:06: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 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +INFO:root:2023-07-21 15:04:23.703603 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-07-21 15:04:23.704626 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-07-21 15:04:23.709421 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [21/Jul/2023 15:04:23] "POST /myclass/api/get_List_domaine_formation/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [21/Jul/2023 15:04:23] "POST /myclass/api/Get_Suggested_Fr_Cities/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [21/Jul/2023 15:04:23] "POST /myclass/api/Get_Suggested_Word/ HTTP/1.1" 200 - +INFO:root:2023-07-21 15:04:24.372005 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-07-21 15:04:24.376005 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [21/Jul/2023 15:04:24] "POST /myclass/api/get_all_class/ HTTP/1.1" 200 - +INFO:root:2023-07-21 15:04:25.350046 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-07-21 15:04:25.358566 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [21/Jul/2023 15:04:25] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:root:2023-07-21 15:04:25.361104 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-07-21 15:04:25.371331 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [21/Jul/2023 15:04:25] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [21/Jul/2023 15:04:25] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:root:2023-07-21 15:04:25.376372 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-07-21 15:04:25.385489 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [21/Jul/2023 15:04:25] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:root:2023-07-21 15:04:25.390066 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [21/Jul/2023 15:04:25] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2023-07-21 15:04:25.395693 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [21/Jul/2023 15:04:25] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [21/Jul/2023 15:04:25] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2023-07-21 15:04:25.401434 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [21/Jul/2023 15:04:25] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2023-07-21 15:04:25.407474 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [21/Jul/2023 15:04:25] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:root:2023-07-21 15:04:25.415492 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [21/Jul/2023 15:04:25] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2023-07-21 15:04:25.420490 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-07-21 15:04:25.425491 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [21/Jul/2023 15:04:25] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:root:2023-07-21 15:04:25.430768 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [21/Jul/2023 15:04:25] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2023-07-21 15:04:25.437992 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [21/Jul/2023 15:04:25] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:root:2023-07-21 15:04:25.446120 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [21/Jul/2023 15:04:25] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [21/Jul/2023 15:04:25] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2023-07-21 15:04:25.452295 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-07-21 15:04:25.456952 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [21/Jul/2023 15:04:25] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:root:2023-07-21 15:04:25.463006 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [21/Jul/2023 15:04:25] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2023-07-21 15:04:25.466365 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [21/Jul/2023 15:04:25] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [21/Jul/2023 15:04:25] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [21/Jul/2023 15:04:25] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2023-07-21 15:04:28.500374 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [21/Jul/2023 15:04:28] "POST /myclass/api/partner_login/ HTTP/1.1" 200 - +INFO:root:2023-07-21 15:04:28.694512 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-07-21 15:04:28.700965 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [21/Jul/2023 15:04:28] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-07-21 15:04:28.707715 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-07-21 15:04:28.716503 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-07-21 15:04:28.722897 : Connexion du partner recid = 8a77c1642a21a9a417a8583f4ef7f2f9c174a99996abb4c63a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [21/Jul/2023 15:04:28] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [21/Jul/2023 15:04:28] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [21/Jul/2023 15:04:28] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-07-21 15:04:29.021880 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [21/Jul/2023 15:04:29] "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-21 15:11:35.508085+02:00 (in 299.990230 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-21 15:11:35 CEST)" (scheduled at 2023-07-21 15:06:35.508085+02:00) +INFO:root:2023-07-21 15:06:35.528050 : vendredi, 21. juillet 2023 03:06:35 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-21 15:11:35 CEST)" raised an exception +Traceback (most recent call last): + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job + retval = job.func(*job.args, **job.kwargs) + File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-21 15:11:52.316735+02:00 (in 299.987840 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-21 15:11:52 CEST)" (scheduled at 2023-07-21 15:06:52.316735+02:00) +INFO:root:2023-07-21 15:06:52.331878 : vendredi, 21. juillet 2023 03:06:52 : Envoie des données de prefacturation : - 0 clients ==> A 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-21 15:11: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 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +INFO:root:2023-07-21 15:08:03.224326 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [21/Jul/2023 15:08:03] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-07-21 15:08:03.232332 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-07-21 15:08:03.239186 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-07-21 15:08:03.246174 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-07-21 15:08:03.257171 : Connexion du partner recid = 8a77c1642a21a9a417a8583f4ef7f2f9c174a99996abb4c63a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [21/Jul/2023 15:08:03] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [21/Jul/2023 15:08:03] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [21/Jul/2023 15:08: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-21 15:16:35.508085+02:00 (in 299.989854 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-21 15:16:35 CEST)" (scheduled at 2023-07-21 15:11:35.508085+02:00) +INFO:root:2023-07-21 15:11:35.528029 : vendredi, 21. juillet 2023 03:11:35 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-21 15:16:35 CEST)" raised an exception +Traceback (most recent call last): + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job + retval = job.func(*job.args, **job.kwargs) + File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-21 15:16:52.316735+02:00 (in 299.994158 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-21 15:16:52 CEST)" (scheduled at 2023-07-21 15:11:52.316735+02:00) +INFO:root:2023-07-21 15:11:52.324577 : vendredi, 21. juillet 2023 03:11:52 : Envoie des données de prefacturation : - 0 clients ==> A 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-21 15:16: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 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +INFO:root:2023-07-21 15:11:56.538424 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-07-21 15:11:56.544243 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-07-21 15:11:56.548563 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [21/Jul/2023 15:11:56] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-07-21 15:11:56.556133 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-07-21 15:11:56.562147 : Connexion du partner recid = 8a77c1642a21a9a417a8583f4ef7f2f9c174a99996abb4c63a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [21/Jul/2023 15:11:56] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [21/Jul/2023 15:11:56] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [21/Jul/2023 15:11:56] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-07-21 15:12:05.532210 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-07-21 15:12:05.538310 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-07-21 15:12:05.541661 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [21/Jul/2023 15:12:05] "POST /myclass/api/get_cust_prices_by_partner/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [21/Jul/2023 15:12:05] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [21/Jul/2023 15:12:05] "POST /myclass/api/get_linked_customer_to_partner/ HTTP/1.1" 200 - +INFO:root:2023-07-21 15:13:00.619372 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-07-21 15:13:00.625386 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-07-21 15:13:00.631385 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [21/Jul/2023 15:13:00] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2023-07-21 15:13:00.637390 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [21/Jul/2023 15:13:00] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-07-21 15:13:00.646780 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-07-21 15:13:00.654763 : Connexion du partner recid = 8a77c1642a21a9a417a8583f4ef7f2f9c174a99996abb4c63a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [21/Jul/2023 15:13:00] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [21/Jul/2023 15:13:00] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [21/Jul/2023 15:13:00] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-07-21 15:13:00.674611 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [21/Jul/2023 15:13:00] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 - +INFO:root:2023-07-21 15:13:09.492658 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [21/Jul/2023 15:13:09] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2023-07-21 15:14:06.140821 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-07-21 15:14:06.142890 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-07-21 15:14:06.145159 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [21/Jul/2023 15:14:06] "POST /myclass/api/get_List_domaine_formation/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [21/Jul/2023 15:14:06] "POST /myclass/api/Get_Suggested_Fr_Cities/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [21/Jul/2023 15:14:06] "POST /myclass/api/Get_Suggested_Word/ HTTP/1.1" 200 - +INFO:root:2023-07-21 15:14:06.656082 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-07-21 15:14:06.659286 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [21/Jul/2023 15:14:06] "POST /myclass/api/get_all_class/ HTTP/1.1" 200 - +INFO:root:2023-07-21 15:14:07.073040 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-07-21 15:14:07.078118 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [21/Jul/2023 15:14:07] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:root:2023-07-21 15:14:07.089405 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [21/Jul/2023 15:14:07] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2023-07-21 15:14:07.098003 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [21/Jul/2023 15:14:07] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:root:2023-07-21 15:14:07.100127 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-07-21 15:14:07.105287 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-07-21 15:14:07.109973 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [21/Jul/2023 15:14:07] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [21/Jul/2023 15:14:07] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2023-07-21 15:14:07.119230 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [21/Jul/2023 15:14:07] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:root:2023-07-21 15:14:07.123116 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [21/Jul/2023 15:14:07] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:root:2023-07-21 15:14:07.129126 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [21/Jul/2023 15:14:07] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:root:2023-07-21 15:14:07.136527 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [21/Jul/2023 15:14:07] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2023-07-21 15:14:07.146060 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [21/Jul/2023 15:14:07] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [21/Jul/2023 15:14:07] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:root:2023-07-21 15:14:07.153226 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [21/Jul/2023 15:14:07] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2023-07-21 15:14:07.161737 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [21/Jul/2023 15:14:07] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:root:2023-07-21 15:14:07.169195 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-07-21 15:14:07.174387 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [21/Jul/2023 15:14:07] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2023-07-21 15:14:07.182035 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [21/Jul/2023 15:14:07] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:root:2023-07-21 15:14:07.188736 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [21/Jul/2023 15:14:07] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2023-07-21 15:14:07.192731 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [21/Jul/2023 15:14:07] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:root:2023-07-21 15:14:07.198795 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [21/Jul/2023 15:14:07] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [21/Jul/2023 15:14:07] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [21/Jul/2023 15:14:07] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2023-07-21 15:14:12.959099 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [21/Jul/2023 15:14:12] "POST /myclass/api/partner_login/ HTTP/1.1" 200 - +INFO:root:2023-07-21 15:14:13.204502 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-07-21 15:14:13.218050 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [21/Jul/2023 15:14:13] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-07-21 15:14:13.225576 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-07-21 15:14:13.228102 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-07-21 15:14:13.237680 : Connexion du partner recid = dbdd36f3d86a73e2bfac7b3f10f062ce1e7c22f7da37de192a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [21/Jul/2023 15:14:13] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [21/Jul/2023 15:14:13] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [21/Jul/2023 15:14:13] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-07-21 15:14:13.536785 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [21/Jul/2023 15:14:13] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 - +INFO:root:2023-07-21 15:14:27.229723 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [21/Jul/2023 15:14:27] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2023-07-21 15:15:36.206782 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [21/Jul/2023 15:15:36] "POST /myclass/api/Get_Partner_List_Partner_Client HTTP/1.1" 308 - +INFO:root:2023-07-21 15:15:36.229806 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [21/Jul/2023 15:15:36] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-21 15:21:35.508085+02:00 (in 299.991135 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-21 15:21:35 CEST)" (scheduled at 2023-07-21 15:16:35.508085+02:00) +INFO:root:2023-07-21 15:16:35.555724 : vendredi, 21. juillet 2023 03:16:35 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-21 15:21: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 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-21 15:21:52.316735+02:00 (in 299.995691 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-21 15:21:52 CEST)" (scheduled at 2023-07-21 15:16:52.316735+02:00) +INFO:root:2023-07-21 15:16:52.323072 : vendredi, 21. juillet 2023 03:16:52 : Envoie des données de prefacturation : - 0 clients ==> A 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-21 15:21: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 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +INFO:root:2023-07-21 15:17:29.785518 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [21/Jul/2023 15:17:29] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2023-07-21 15:18:02.844930 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [21/Jul/2023 15:18:02] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-21 15:26:35.508085+02:00 (in 299.979607 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-21 15:26:35 CEST)" (scheduled at 2023-07-21 15:21:35.508085+02:00) +INFO:root:2023-07-21 15:21:35.537866 : vendredi, 21. juillet 2023 03:21:35 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-21 15:26:35 CEST)" raised an exception +Traceback (most recent call last): + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job + retval = job.func(*job.args, **job.kwargs) + File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-21 15:26:52.316735+02:00 (in 299.986387 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-21 15:26:52 CEST)" (scheduled at 2023-07-21 15:21:52.316735+02:00) +INFO:root:2023-07-21 15:21:52.332359 : vendredi, 21. juillet 2023 03:21:52 : Envoie des données de prefacturation : - 0 clients ==> A 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-21 15:26: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 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +INFO:root:2023-07-21 15:23:10.329146 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [21/Jul/2023 15:23:10] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2023-07-21 15:25:59.280259 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [21/Jul/2023 15:25:59] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2023-07-21 15:26:32.928312 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [21/Jul/2023 15:26:32] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-21 15:31:35.508085+02:00 (in 299.985007 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-21 15:31:35 CEST)" (scheduled at 2023-07-21 15:26:35.508085+02:00) +INFO:root:2023-07-21 15:26:35.532776 : vendredi, 21. juillet 2023 03:26:35 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-21 15:31:35 CEST)" raised an exception +Traceback (most recent call last): + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job + retval = job.func(*job.args, **job.kwargs) + File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-21 15:31:52.316735+02:00 (in 299.991099 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-21 15:31:52 CEST)" (scheduled at 2023-07-21 15:26:52.316735+02:00) +INFO:root:2023-07-21 15:26:52.327211 : vendredi, 21. juillet 2023 03:26:52 : Envoie des données de prefacturation : - 0 clients ==> A 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-21 15:31: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 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +INFO:root:2023-07-21 15:27:50.259878 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [21/Jul/2023 15:27:50] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2023-07-21 15:28:10.776690 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [21/Jul/2023 15:28:10] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-21 15:36:35.508085+02:00 (in 299.990259 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-21 15:36:35 CEST)" (scheduled at 2023-07-21 15:31:35.508085+02:00) +INFO:root:2023-07-21 15:31:35.528144 : vendredi, 21. juillet 2023 03:31:35 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-21 15:36:35 CEST)" raised an exception +Traceback (most recent call last): + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job + retval = job.func(*job.args, **job.kwargs) + File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-21 15:36:52.316735+02:00 (in 299.996952 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-21 15:36:52 CEST)" (scheduled at 2023-07-21 15:31:52.316735+02:00) +INFO:root:2023-07-21 15:31:52.328285 : vendredi, 21. juillet 2023 03:31:52 : Envoie des données de prefacturation : - 0 clients ==> A 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-21 15:36: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 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-21 15:41:35.508085+02:00 (in 299.988179 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-21 15:41:35 CEST)" (scheduled at 2023-07-21 15:36:35.508085+02:00) +INFO:root:2023-07-21 15:36:35.529360 : vendredi, 21. juillet 2023 03:36:35 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-21 15: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 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-21 15:41:52.316735+02:00 (in 299.986804 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-21 15:41:52 CEST)" (scheduled at 2023-07-21 15:36:52.316735+02:00) +INFO:root:2023-07-21 15:36:52.332340 : vendredi, 21. juillet 2023 03:36:52 : Envoie des données de prefacturation : - 0 clients ==> A 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-21 15:41: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 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-21 15:46:35.508085+02:00 (in 299.997173 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-21 15:46:35 CEST)" (scheduled at 2023-07-21 15:41:35.508085+02:00) +INFO:root:2023-07-21 15:41:35.519884 : vendredi, 21. juillet 2023 03:41:35 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-21 15:46:35 CEST)" raised an exception +Traceback (most recent call last): + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job + retval = job.func(*job.args, **job.kwargs) + File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-21 15:46:52.316735+02:00 (in 299.997376 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-21 15:46:52 CEST)" (scheduled at 2023-07-21 15:41:52.316735+02:00) +INFO:root:2023-07-21 15:41:52.322367 : vendredi, 21. juillet 2023 03:41:52 : Envoie des données de prefacturation : - 0 clients ==> A 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-21 15:46: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 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-21 15:51:35.508085+02:00 (in 299.989081 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-21 15:51:35 CEST)" (scheduled at 2023-07-21 15:46:35.508085+02:00) +INFO:root:2023-07-21 15:46:35.529159 : vendredi, 21. juillet 2023 03:46:35 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-21 15: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 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-21 15:51:52.316735+02:00 (in 299.983440 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-21 15:51:52 CEST)" (scheduled at 2023-07-21 15:46:52.316735+02:00) +INFO:root:2023-07-21 15:46:52.343928 : vendredi, 21. juillet 2023 03:46:52 : Envoie des données de prefacturation : - 0 clients ==> A 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-21 15:51: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 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-21 15:56:35.508085+02:00 (in 299.979084 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-21 15:56:35 CEST)" (scheduled at 2023-07-21 15:51:35.508085+02:00) +INFO:root:2023-07-21 15:51:35.532565 : vendredi, 21. juillet 2023 03:51:35 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-21 15:56:35 CEST)" raised an exception +Traceback (most recent call last): + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job + retval = job.func(*job.args, **job.kwargs) + File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-21 15:56:52.316735+02:00 (in 299.985757 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-21 15:56:52 CEST)" (scheduled at 2023-07-21 15:51:52.316735+02:00) +INFO:root:2023-07-21 15:51:52.333438 : vendredi, 21. juillet 2023 03:51:52 : Envoie des données de prefacturation : - 0 clients ==> A 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-21 15:56: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 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-21 16:01:35.508085+02:00 (in 299.984672 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-21 16:01:35 CEST)" (scheduled at 2023-07-21 15:56:35.508085+02:00) +INFO:root:2023-07-21 15:56:35.534810 : vendredi, 21. juillet 2023 03:56:35 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-21 16:01:35 CEST)" raised an exception +Traceback (most recent call last): + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job + retval = job.func(*job.args, **job.kwargs) + File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-21 16:01:52.316735+02:00 (in 299.997265 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-21 16:01:52 CEST)" (scheduled at 2023-07-21 15:56:52.316735+02:00) +INFO:root:2023-07-21 15:56:52.321469 : vendredi, 21. juillet 2023 03:56:52 : Envoie des données de prefacturation : - 0 clients ==> A 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-21 16:01: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 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-21 16:06:35.508085+02:00 (in 299.977453 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-21 16:06:35 CEST)" (scheduled at 2023-07-21 16:01:35.508085+02:00) +INFO:root:2023-07-21 16:01:35.540437 : vendredi, 21. juillet 2023 04:01:35 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-21 16:06:35 CEST)" raised an exception +Traceback (most recent call last): + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job + retval = job.func(*job.args, **job.kwargs) + File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-21 16:06:52.316735+02:00 (in 299.986298 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-21 16:06:52 CEST)" (scheduled at 2023-07-21 16:01:52.316735+02:00) +INFO:root:2023-07-21 16:01:52.338986 : vendredi, 21. juillet 2023 04:01:52 : Envoie des données de prefacturation : - 0 clients ==> A 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-21 16:06: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 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-21 16:06:35.508085+02:00 (in 1.570504 seconds) +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-21 16:11:35.508085+02:00 (in 299.986480 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-21 16:11:35 CEST)" (scheduled at 2023-07-21 16:06:35.508085+02:00) +INFO:root:2023-07-21 16:06:35.530139 : vendredi, 21. juillet 2023 04:06:35 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-21 16:11:35 CEST)" raised an exception +Traceback (most recent call last): + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job + retval = job.func(*job.args, **job.kwargs) + File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-21 16:06:52.316735+02:00 (in 1.561523 seconds) +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-21 16:11:52.316735+02:00 (in 299.998818 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-21 16:11:52 CEST)" (scheduled at 2023-07-21 16:06:52.316735+02:00) +INFO:root:2023-07-21 16:06:52.319930 : vendredi, 21. juillet 2023 04:06:52 : Envoie des données de prefacturation : - 0 clients ==> A 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-21 16:11: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 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-21 16:16:35.508085+02:00 (in 299.992510 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-21 16:16:35 CEST)" (scheduled at 2023-07-21 16:11:35.508085+02:00) +INFO:root:2023-07-21 16:11:35.518083 : vendredi, 21. juillet 2023 04:11:35 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-21 16:16:35 CEST)" raised an exception +Traceback (most recent call last): + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job + retval = job.func(*job.args, **job.kwargs) + File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-21 16:16:52.316735+02:00 (in 299.996934 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-21 16:16:52 CEST)" (scheduled at 2023-07-21 16:11:52.316735+02:00) +INFO:root:2023-07-21 16:11:52.328870 : vendredi, 21. juillet 2023 04:11:52 : Envoie des données de prefacturation : - 0 clients ==> A 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-21 16:16: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 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-21 16:21:35.508085+02:00 (in 299.992286 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-21 16:21:35 CEST)" (scheduled at 2023-07-21 16:16:35.508085+02:00) +INFO:root:2023-07-21 16:16:35.525187 : vendredi, 21. juillet 2023 04:16:35 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-21 16:21: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 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-21 16:21:52.316735+02:00 (in 299.986751 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-21 16:21:52 CEST)" (scheduled at 2023-07-21 16:16:52.316735+02:00) +INFO:root:2023-07-21 16:16:52.332953 : vendredi, 21. juillet 2023 04:16:52 : Envoie des données de prefacturation : - 0 clients ==> A 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-21 16:21: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 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +INFO:root:2023-07-21 16:20:07.682286 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-07-21 16:20:07.694702 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-07-21 16:20:07.709966 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [21/Jul/2023 16:20:07] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-07-21 16:20:07.731240 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-07-21 16:20:07.744071 : Connexion du partner recid = dbdd36f3d86a73e2bfac7b3f10f062ce1e7c22f7da37de192a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [21/Jul/2023 16:20:07] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [21/Jul/2023 16:20:07] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [21/Jul/2023 16:20:07] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-07-21 16:20:08.816844 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [21/Jul/2023 16:20:08] "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-21 16:26:35.508085+02:00 (in 299.986717 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-21 16:26:35 CEST)" (scheduled at 2023-07-21 16:21:35.508085+02:00) +INFO:root:2023-07-21 16:21:35.527556 : vendredi, 21. juillet 2023 04:21:35 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-21 16:26:35 CEST)" raised an exception +Traceback (most recent call last): + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job + retval = job.func(*job.args, **job.kwargs) + File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-21 16:26:52.316735+02:00 (in 299.991635 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-21 16:26:52 CEST)" (scheduled at 2023-07-21 16:21:52.316735+02:00) +INFO:root:2023-07-21 16:21:52.327361 : vendredi, 21. juillet 2023 04:21:52 : Envoie des données de prefacturation : - 0 clients ==> A 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-21 16:26: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 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-21 16:31:35.508085+02:00 (in 299.981179 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-21 16:31:35 CEST)" (scheduled at 2023-07-21 16:26:35.508085+02:00) +INFO:root:2023-07-21 16:26:35.538295 : vendredi, 21. juillet 2023 04:26:35 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-21 16:31:35 CEST)" raised an exception +Traceback (most recent call last): + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job + retval = job.func(*job.args, **job.kwargs) + File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-21 16:31:52.316735+02:00 (in 299.998140 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-21 16:31:52 CEST)" (scheduled at 2023-07-21 16:26:52.316735+02:00) +INFO:root:2023-07-21 16:26:52.321001 : vendredi, 21. juillet 2023 04:26:52 : Envoie des données de prefacturation : - 0 clients ==> A 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-21 16:31: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 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +INFO:root:2023-07-21 16:28:12.467494 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-07-21 16:28:12.475315 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-07-21 16:28:12.479796 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [21/Jul/2023 16:28:12] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-07-21 16:28:12.484706 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-07-21 16:28:12.497132 : Connexion du partner recid = dbdd36f3d86a73e2bfac7b3f10f062ce1e7c22f7da37de192a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [21/Jul/2023 16:28:12] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [21/Jul/2023 16:28:12] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [21/Jul/2023 16:28:12] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-07-21 16:28:13.379521 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [21/Jul/2023 16:28:13] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 - +INFO:root:2023-07-21 16:28:19.937661 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [21/Jul/2023 16:28:19] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2023-07-21 16:29:54.914386 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [21/Jul/2023 16:29:54] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2023-07-21 16:30:05.768555 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-07-21 16:30:05.774973 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [21/Jul/2023 16:30:05] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-07-21 16:30:05.782808 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-07-21 16:30:05.787306 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-07-21 16:30:05.799810 : Connexion du partner recid = dbdd36f3d86a73e2bfac7b3f10f062ce1e7c22f7da37de192a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [21/Jul/2023 16:30:05] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [21/Jul/2023 16:30:05] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [21/Jul/2023 16:30:05] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-07-21 16:30:06.870267 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [21/Jul/2023 16:30:06] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 - +INFO:root:2023-07-21 16:30:11.377810 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [21/Jul/2023 16:30:11] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-21 16:36:35.508085+02:00 (in 299.998420 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-21 16:36:35 CEST)" (scheduled at 2023-07-21 16:31:35.508085+02:00) +INFO:root:2023-07-21 16:31:35.522306 : vendredi, 21. juillet 2023 04:31:35 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-21 16:36:35 CEST)" raised an exception +Traceback (most recent call last): + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job + retval = job.func(*job.args, **job.kwargs) + File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-21 16:36:52.316735+02:00 (in 299.994989 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-21 16:36:52 CEST)" (scheduled at 2023-07-21 16:31:52.316735+02:00) +INFO:root:2023-07-21 16:31:52.330994 : vendredi, 21. juillet 2023 04:31:52 : Envoie des données de prefacturation : - 0 clients ==> A 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-21 16:36: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 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-21 16:41:35.508085+02:00 (in 299.989719 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-21 16:41:35 CEST)" (scheduled at 2023-07-21 16:36:35.508085+02:00) +INFO:root:2023-07-21 16:36:35.523449 : vendredi, 21. 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:05:00], next run at: 2023-07-21 16: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 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-21 16:41:52.316735+02:00 (in 299.988758 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-21 16:41:52 CEST)" (scheduled at 2023-07-21 16:36:52.316735+02:00) +INFO:root:2023-07-21 16:36:52.331004 : vendredi, 21. juillet 2023 04:36:52 : Envoie des données de prefacturation : - 0 clients ==> A 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-21 16:41: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 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-21 16:46:35.508085+02:00 (in 299.988965 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-21 16:46:35 CEST)" (scheduled at 2023-07-21 16:41:35.508085+02:00) +INFO:root:2023-07-21 16:41:35.527996 : vendredi, 21. juillet 2023 04:41:35 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-21 16:46:35 CEST)" raised an exception +Traceback (most recent call last): + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job + retval = job.func(*job.args, **job.kwargs) + File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-21 16:46:52.316735+02:00 (in 299.991935 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-21 16:46:52 CEST)" (scheduled at 2023-07-21 16:41:52.316735+02:00) +INFO:root:2023-07-21 16:41:52.333638 : vendredi, 21. juillet 2023 04:41:52 : Envoie des données de prefacturation : - 0 clients ==> A 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-21 16:46: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 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-21 16:51:35.508085+02:00 (in 299.973136 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-21 16:51:35 CEST)" (scheduled at 2023-07-21 16:46:35.508085+02:00) +INFO:root:2023-07-21 16:46:35.549016 : vendredi, 21. juillet 2023 04:46:35 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-21 16: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 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-21 16:51:52.316735+02:00 (in 299.982896 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-21 16:51:52 CEST)" (scheduled at 2023-07-21 16:46:52.316735+02:00) +INFO:root:2023-07-21 16:46:52.337567 : vendredi, 21. juillet 2023 04:46:52 : Envoie des données de prefacturation : - 0 clients ==> A 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-21 16:51: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 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-21 16:56:35.508085+02:00 (in 299.986522 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-21 16:56:35 CEST)" (scheduled at 2023-07-21 16:51:35.508085+02:00) +INFO:root:2023-07-21 16:51:35.531106 : vendredi, 21. juillet 2023 04:51:35 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-21 16:56:35 CEST)" raised an exception +Traceback (most recent call last): + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job + retval = job.func(*job.args, **job.kwargs) + File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-21 16:56:52.316735+02:00 (in 299.995095 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-21 16:56:52 CEST)" (scheduled at 2023-07-21 16:51:52.316735+02:00) +INFO:root:2023-07-21 16:51:52.324684 : vendredi, 21. juillet 2023 04:51:52 : Envoie des données de prefacturation : - 0 clients ==> A 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-21 16:56: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 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-21 17:01:35.508085+02:00 (in 299.987304 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-21 17:01:35 CEST)" (scheduled at 2023-07-21 16:56:35.508085+02:00) +INFO:root:2023-07-21 16:56:35.526890 : vendredi, 21. juillet 2023 04:56:35 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-21 17:01:35 CEST)" raised an exception +Traceback (most recent call last): + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job + retval = job.func(*job.args, **job.kwargs) + File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-21 17:01:52.316735+02:00 (in 299.990934 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-21 17:01:52 CEST)" (scheduled at 2023-07-21 16:56:52.316735+02:00) +INFO:root:2023-07-21 16:56:52.328581 : vendredi, 21. juillet 2023 04:56:52 : Envoie des données de prefacturation : - 0 clients ==> A 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-21 17:01: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 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-21 17:06:35.508085+02:00 (in 299.980688 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-21 17:06:35 CEST)" (scheduled at 2023-07-21 17:01:35.508085+02:00) +INFO:root:2023-07-21 17:01:35.535865 : vendredi, 21. juillet 2023 05:01:35 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-21 17:06:35 CEST)" raised an exception +Traceback (most recent call last): + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job + retval = job.func(*job.args, **job.kwargs) + File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-21 17:06:52.316735+02:00 (in 299.988561 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-21 17:06:52 CEST)" (scheduled at 2023-07-21 17:01:52.316735+02:00) +INFO:root:2023-07-21 17:01:52.330694 : vendredi, 21. juillet 2023 05:01:52 : Envoie des données de prefacturation : - 0 clients ==> A 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-21 17:06: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 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-21 17:11:35.508085+02:00 (in 299.997684 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-21 17:11:35 CEST)" (scheduled at 2023-07-21 17:06:35.508085+02:00) +INFO:root:2023-07-21 17:06:35.518523 : vendredi, 21. juillet 2023 05:06:35 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-21 17:11:35 CEST)" raised an exception +Traceback (most recent call last): + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job + retval = job.func(*job.args, **job.kwargs) + File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-21 17:11:52.316735+02:00 (in 299.986688 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-21 17:11:52 CEST)" (scheduled at 2023-07-21 17:06:52.316735+02:00) +INFO:root:2023-07-21 17:06:52.339333 : vendredi, 21. juillet 2023 05:06:52 : Envoie des données de prefacturation : - 0 clients ==> A 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-21 17:11: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 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-21 17:16:35.508085+02:00 (in 299.986401 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-21 17:16:35 CEST)" (scheduled at 2023-07-21 17:11:35.508085+02:00) +INFO:root:2023-07-21 17:11:35.531444 : vendredi, 21. juillet 2023 05:11:35 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-21 17:16:35 CEST)" raised an exception +Traceback (most recent call last): + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job + retval = job.func(*job.args, **job.kwargs) + File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-21 17:16:52.316735+02:00 (in 299.990753 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-21 17:16:52 CEST)" (scheduled at 2023-07-21 17:11:52.316735+02:00) +INFO:root:2023-07-21 17:11:52.329243 : vendredi, 21. juillet 2023 05:11:52 : Envoie des données de prefacturation : - 0 clients ==> A 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-21 17:16: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 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-21 17:21:35.508085+02:00 (in 299.979484 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-21 17:21:35 CEST)" (scheduled at 2023-07-21 17:16:35.508085+02:00) +INFO:root:2023-07-21 17:16:35.532514 : vendredi, 21. juillet 2023 05:16:35 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-21 17:21: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 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-21 17:21:52.316735+02:00 (in 299.992436 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-21 17:21:52 CEST)" (scheduled at 2023-07-21 17:16:52.316735+02:00) +INFO:root:2023-07-21 17:16:52.326495 : vendredi, 21. juillet 2023 05:16:52 : Envoie des données de prefacturation : - 0 clients ==> A 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-21 17:21: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 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-21 17:26:35.508085+02:00 (in 299.989117 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-21 17:26:35 CEST)" (scheduled at 2023-07-21 17:21:35.508085+02:00) +INFO:root:2023-07-21 17:21:35.528723 : vendredi, 21. juillet 2023 05:21:35 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-21 17:26:35 CEST)" raised an exception +Traceback (most recent call last): + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job + retval = job.func(*job.args, **job.kwargs) + File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-21 17:26:52.316735+02:00 (in 299.997459 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-21 17:26:52 CEST)" (scheduled at 2023-07-21 17:21:52.316735+02:00) +INFO:root:2023-07-21 17:21:52.323042 : vendredi, 21. juillet 2023 05:21:52 : Envoie des données de prefacturation : - 0 clients ==> A 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-21 17:26: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 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-21 17:31:35.508085+02:00 (in 299.983450 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-21 17:31:35 CEST)" (scheduled at 2023-07-21 17:26:35.508085+02:00) +INFO:root:2023-07-21 17:26:35.534075 : vendredi, 21. juillet 2023 05:26:35 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-21 17:31:35 CEST)" raised an exception +Traceback (most recent call last): + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job + retval = job.func(*job.args, **job.kwargs) + File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-21 17:31:52.316735+02:00 (in 299.986772 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-21 17:31:52 CEST)" (scheduled at 2023-07-21 17:26:52.316735+02:00) +INFO:root:2023-07-21 17:26:52.333032 : vendredi, 21. juillet 2023 05:26:52 : Envoie des données de prefacturation : - 0 clients ==> A 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-21 17:31: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 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-21 17:36:35.508085+02:00 (in 299.987281 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-21 17:36:35 CEST)" (scheduled at 2023-07-21 17:31:35.508085+02:00) +INFO:root:2023-07-21 17:31:35.523078 : vendredi, 21. juillet 2023 05:31:35 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-21 17:36:35 CEST)" raised an exception +Traceback (most recent call last): + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job + retval = job.func(*job.args, **job.kwargs) + File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-21 17:36:52.316735+02:00 (in 299.995519 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-21 17:36:52 CEST)" (scheduled at 2023-07-21 17:31:52.316735+02:00) +INFO:root:2023-07-21 17:31:52.323219 : vendredi, 21. juillet 2023 05:31:52 : Envoie des données de prefacturation : - 0 clients ==> A 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-21 17:36: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 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-21 17:41:35.508085+02:00 (in 299.986977 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-21 17:41:35 CEST)" (scheduled at 2023-07-21 17:36:35.508085+02:00) +INFO:root:2023-07-21 17:36:35.530322 : vendredi, 21. juillet 2023 05:36:35 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-21 17: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 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-21 17:41:52.316735+02:00 (in 299.996924 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-21 17:41:52 CEST)" (scheduled at 2023-07-21 17:36:52.316735+02:00) +INFO:root:2023-07-21 17:36:52.322172 : vendredi, 21. juillet 2023 05:36:52 : Envoie des données de prefacturation : - 0 clients ==> A 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-21 17:41: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 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-21 17:46:35.508085+02:00 (in 299.992763 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-21 17:46:35 CEST)" (scheduled at 2023-07-21 17:41:35.508085+02:00) +INFO:root:2023-07-21 17:41:35.516340 : vendredi, 21. juillet 2023 05:41:35 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-21 17:46:35 CEST)" raised an exception +Traceback (most recent call last): + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job + retval = job.func(*job.args, **job.kwargs) + File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-21 17:46:52.316735+02:00 (in 299.989432 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-21 17:46:52 CEST)" (scheduled at 2023-07-21 17:41:52.316735+02:00) +INFO:root:2023-07-21 17:41:52.329333 : vendredi, 21. juillet 2023 05:41:52 : Envoie des données de prefacturation : - 0 clients ==> A 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-21 17:46: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 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +INFO:apscheduler.scheduler:Scheduler 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-22 12:35:25.012319 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-07-22 12:35:25.012319 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-07-22 12:35:25.013316 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-07-22 12:35:25.013316 : ++ FLASK PORT 5001 ++ +INFO:root:2023-07-22 12:35:25.013316 : ++ 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-22 12:40:25.229661+02:00 (in 299.987459 seconds) +INFO:werkzeug:WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead. + * Running on http://localhost:5001 +INFO:werkzeug:Press CTRL+C to quit +INFO:werkzeug: * Restarting with stat +INFO:root:2023-07-22 12:35:49.314936 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-07-22 12:35:49.315960 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-07-22 12:35:49.315960 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-07-22 12:35:49.315960 : ++ FLASK PORT 5001 ++ +INFO:root:2023-07-22 12:35:49.315960 : ++ 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-22 12:40:49.458231+02:00 (in 299.996000 seconds) +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 632-522-489 +DEBUG:apscheduler.scheduler:Looking for jobs to run +WARNING:apscheduler.executors.default:Run time of job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 12:40:25 CEST)" was missed by 0:00:02.263079 +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-22 12:45:25.229661+02:00 (in 297.737907 seconds) +DEBUG:apscheduler.scheduler:Looking for jobs to run +WARNING:apscheduler.executors.default:Run time of job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 12:40:49 CEST)" was missed by 0:00:02.260146 +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-22 12:45:49.458231+02:00 (in 297.740879 seconds) +INFO:root:2023-07-22 12:41:26.509304 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-07-22 12:41:26.510585 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-07-22 12:41:26.511591 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 12:41:26] "POST /myclass/api/get_List_domaine_formation/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 12:41:26] "POST /myclass/api/Get_Suggested_Fr_Cities/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 12:41:26] "POST /myclass/api/Get_Suggested_Word/ HTTP/1.1" 200 - +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-22 12:50:25.229661+02:00 (in 299.987794 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 12:50:25 CEST)" (scheduled at 2023-07-22 12:45:25.229661+02:00) +INFO:root:2023-07-22 12:45:25.258771 : samedi, 22. juillet 2023 12:45:25 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 12:50:25 CEST)" raised an exception +Traceback (most recent call last): + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job + retval = job.func(*job.args, **job.kwargs) + File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-22 12:50:49.458231+02:00 (in 299.985305 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 12:50:49 CEST)" (scheduled at 2023-07-22 12:45:49.458231+02:00) +INFO:root:2023-07-22 12:45:49.475920 : samedi, 22. juillet 2023 12:45:49 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 12:50:49 CEST)" raised an exception +Traceback (most recent call last): + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job + retval = job.func(*job.args, **job.kwargs) + File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-22 12:55:25.229661+02:00 (in 299.988889 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 12:55:25 CEST)" (scheduled at 2023-07-22 12:50:25.229661+02:00) +INFO:root:2023-07-22 12:50:25.242717 : samedi, 22. juillet 2023 12:50:25 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 12:55:25 CEST)" raised an exception +Traceback (most recent call last): + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job + retval = job.func(*job.args, **job.kwargs) + File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-22 12:55:49.458231+02:00 (in 299.995776 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 12:55:49 CEST)" (scheduled at 2023-07-22 12:50:49.458231+02:00) +INFO:root:2023-07-22 12:50:49.464458 : samedi, 22. juillet 2023 12:50:49 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 12:55:49 CEST)" raised an exception +Traceback (most recent call last): + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job + retval = job.func(*job.args, **job.kwargs) + File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-22 13:00:25.229661+02:00 (in 299.999435 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 13:00:25 CEST)" (scheduled at 2023-07-22 12:55:25.229661+02:00) +INFO:root:2023-07-22 12:55:25.232221 : samedi, 22. juillet 2023 12:55:25 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 13:00:25 CEST)" raised an exception +Traceback (most recent call last): + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job + retval = job.func(*job.args, **job.kwargs) + File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-22 13:00:49.458231+02:00 (in 299.998340 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 13:00:49 CEST)" (scheduled at 2023-07-22 12:55:49.458231+02:00) +INFO:root:2023-07-22 12:55:49.461973 : samedi, 22. juillet 2023 12:55:49 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 13: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 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-22 13:05:25.229661+02:00 (in 299.980169 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 13:05:25 CEST)" (scheduled at 2023-07-22 13:00:25.229661+02:00) +INFO:root:2023-07-22 13:00:25.416623 : samedi, 22. juillet 2023 01:00:25 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 13:05:25 CEST)" raised an exception +Traceback (most recent call last): + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job + retval = job.func(*job.args, **job.kwargs) + File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +INFO:root:2023-07-22 13:00:48.571889 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 13:00:48] "POST /myclass/api/partner_login/ HTTP/1.1" 200 - +INFO:root:2023-07-22 13:00:48.755893 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-07-22 13:00:48.761115 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-07-22 13:00:48.767315 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 13:00:48] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-07-22 13:00:48.773280 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-07-22 13:00:48.781662 : Connexion du partner recid = dbdd36f3d86a73e2bfac7b3f10f062ce1e7c22f7da37de192a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 13:00:48] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 13:00:48] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 13:00:48] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-07-22 13:00:49.058130 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 13:00:49] "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-22 13:05:49.458231+02:00 (in 299.984380 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 13:05:49 CEST)" (scheduled at 2023-07-22 13:00:49.458231+02:00) +INFO:root:2023-07-22 13:00:49.475852 : samedi, 22. juillet 2023 01:00:49 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 13:05:49 CEST)" raised an exception +Traceback (most recent call last): + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job + retval = job.func(*job.args, **job.kwargs) + File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +INFO:root:2023-07-22 13:00:57.429577 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 13:00:57] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2023-07-22 13:01:25.627178 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 13:01:25] "POST /myclass/api/Get_Given_Partner_Client/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\partner_client.py', reloading +INFO:apscheduler.scheduler:Scheduler has been shut down +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added +INFO:werkzeug: * Restarting with stat +INFO:root:2023-07-22 13:03:29.643309 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-07-22 13:03:29.644303 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-07-22 13:03:29.644303 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-07-22 13:03:29.644303 : ++ FLASK PORT 5001 ++ +INFO:root:2023-07-22 13:03:29.644303 : ++ 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-22 13:08:29.861961+02:00 (in 299.995837 seconds) +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 632-522-489 +INFO:root:2023-07-22 13:03:52.998619 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-07-22 13:03:53.002689 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 13:03:53] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-07-22 13:03:53.008688 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-07-22 13:03:53.009715 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 13:03:53] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:root:2023-07-22 13:03:53.021119 : Connexion du partner recid = dbdd36f3d86a73e2bfac7b3f10f062ce1e7c22f7da37de192a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 13:03:53] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 13:03:53] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-07-22 13:03:53.224345 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 13:03:53] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 - +INFO:root:2023-07-22 13:04:10.609278 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 13:04:10] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2023-07-22 13:04:24.567713 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 13:04:24] "POST /myclass/api/Get_Given_Partner_Client/ HTTP/1.1" 200 - +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-22 13:10:25.229661+02:00 (in 299.998160 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 13:10:25 CEST)" (scheduled at 2023-07-22 13:05:25.229661+02:00) +INFO:root:2023-07-22 13:05:25.234273 : samedi, 22. juillet 2023 01:05:25 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 13:10:25 CEST)" raised an exception +Traceback (most recent call last): + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job + retval = job.func(*job.args, **job.kwargs) + File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +INFO:root:2023-07-22 13:07:53.628039 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 13:07:53] "POST /myclass/api/Get_Given_Partner_Client/ HTTP/1.1" 200 - +DEBUG:apscheduler.scheduler:Looking for jobs to run +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 13:08:29 CEST)" (scheduled at 2023-07-22 13:08:29.861961+02:00) +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-22 13:13:29.861961+02:00 (in 299.995578 seconds) +INFO:root:2023-07-22 13:08:29.868370 : samedi, 22. juillet 2023 01:08: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:05:00], next run at: 2023-07-22 13:13: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 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +INFO:root:2023-07-22 13:08:44.615403 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 13:08:44] "POST /myclass/api/Get_Given_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2023-07-22 13:09:31.325194 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 13:09:31] "POST /myclass/api/Get_Given_Partner_Client/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\partner_client.py', reloading +INFO:apscheduler.scheduler:Scheduler has been shut down +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added +INFO:werkzeug: * Restarting with stat +INFO:root:2023-07-22 13:10:21.056867 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-07-22 13:10:21.056867 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-07-22 13:10:21.056867 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-07-22 13:10:21.056867 : ++ FLASK PORT 5001 ++ +INFO:root:2023-07-22 13:10:21.056867 : ++ 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-22 13:15:21.141013+02:00 (in 299.995998 seconds) +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 632-522-489 +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-22 13:15:25.229661+02:00 (in 299.985052 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 13:15:25 CEST)" (scheduled at 2023-07-22 13:10:25.229661+02:00) +INFO:root:2023-07-22 13:10:25.248141 : samedi, 22. juillet 2023 01:10:25 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 13:15:25 CEST)" raised an exception +Traceback (most recent call last): + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job + retval = job.func(*job.args, **job.kwargs) + File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +INFO:root:2023-07-22 13:10:36.192719 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-07-22 13:10:36.195716 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-07-22 13:10:36.198717 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-07-22 13:10:36.203974 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 13:10:36] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-07-22 13:10:36.213885 : Connexion du partner recid = dbdd36f3d86a73e2bfac7b3f10f062ce1e7c22f7da37de192a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 13:10:36] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 13:10:36] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 13:10:36] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-07-22 13:10:36.865329 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 13:10:36] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 - +INFO:root:2023-07-22 13:10:49.522094 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 13:10:49] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2023-07-22 13:10:55.768371 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 13:10:55] "POST /myclass/api/Get_Given_Partner_Client/ HTTP/1.1" 200 - +DEBUG:apscheduler.scheduler:Looking for jobs to run +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 13:15:21 CEST)" (scheduled at 2023-07-22 13:15:21.141013+02:00) +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-22 13:20:21.141013+02:00 (in 299.987870 seconds) +INFO:root:2023-07-22 13:15:21.156159 : samedi, 22. juillet 2023 01:15:21 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 13:20: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 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-22 13:20:25.229661+02:00 (in 299.993083 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 13:20:25 CEST)" (scheduled at 2023-07-22 13:15:25.229661+02:00) +INFO:root:2023-07-22 13:15:25.238575 : samedi, 22. juillet 2023 01:15:25 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 13:20:25 CEST)" raised an exception +Traceback (most recent call last): + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job + retval = job.func(*job.args, **job.kwargs) + File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +INFO:root:2023-07-22 13:15:35.444097 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 13:15:35] "POST /myclass/api/Get_Given_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2023-07-22 13:16:07.217163 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-07-22 13:16:07.222221 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-07-22 13:16:07.224219 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 13:16:07] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-07-22 13:16:07.229168 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-07-22 13:16:07.235360 : Connexion du partner recid = dbdd36f3d86a73e2bfac7b3f10f062ce1e7c22f7da37de192a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 13:16:07] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 13:16:07] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 13:16:07] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-07-22 13:16:07.864231 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 13:16:07] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 - +INFO:root:2023-07-22 13:16:14.541318 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 13:16:14] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2023-07-22 13:16:21.240650 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 13:16:21] "POST /myclass/api/Get_Given_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2023-07-22 13:16:44.461773 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 13:16:44] "POST /myclass/api/Get_Given_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2023-07-22 13:17:07.942629 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 13:17:07] "POST /myclass/api/Get_Given_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2023-07-22 13:17:22.044792 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 13:17:22] "POST /myclass/api/Get_Given_Partner_Client/ HTTP/1.1" 200 - +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-22 13:25:21.141013+02:00 (in 299.993918 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 13:25:21 CEST)" (scheduled at 2023-07-22 13:20:21.141013+02:00) +INFO:root:2023-07-22 13:20:21.149602 : samedi, 22. juillet 2023 01:20:21 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 13:25: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 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-22 13:25:25.229661+02:00 (in 299.984917 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 13:25:25 CEST)" (scheduled at 2023-07-22 13:20:25.229661+02:00) +INFO:root:2023-07-22 13:20:25.277682 : samedi, 22. juillet 2023 01:20:25 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 13:25:25 CEST)" raised an exception +Traceback (most recent call last): + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job + retval = job.func(*job.args, **job.kwargs) + File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +INFO:root:2023-07-22 13:25:02.769499 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 13:25:02] "POST /myclass/api/Get_Given_Partner_Client/ HTTP/1.1" 200 - +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-22 13:30:21.141013+02:00 (in 278.523437 seconds) +WARNING:apscheduler.executors.default:Run time of job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 13:30:21 CEST)" was missed by 0:00:21.477230 +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-22 13:30:25.229661+02:00 (in 278.496698 seconds) +WARNING:apscheduler.executors.default:Run time of job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 13:30:25 CEST)" was missed by 0:00:21.503999 +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-22 13:35:21.141013+02:00 (in 299.986316 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 13:35:21 CEST)" (scheduled at 2023-07-22 13:30:21.141013+02:00) +INFO:root:2023-07-22 13:30:21.156709 : samedi, 22. juillet 2023 01:30:21 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 13:35: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 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-22 13:35:25.229661+02:00 (in 299.996695 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 13:35:25 CEST)" (scheduled at 2023-07-22 13:30:25.229661+02:00) +INFO:root:2023-07-22 13:30:25.244152 : samedi, 22. juillet 2023 01:30:25 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 13:35:25 CEST)" raised an exception +Traceback (most recent call last): + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job + retval = job.func(*job.args, **job.kwargs) + File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +INFO:root:2023-07-22 13:34:02.207933 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 13:34:02] "POST /myclass/api/Get_Given_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2023-07-22 13:34:31.494670 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 13:34:31] "POST /myclass/api/Get_Given_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2023-07-22 13:34:35.056933 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 13:34:35] "POST /myclass/api/Get_Given_Partner_Client/ HTTP/1.1" 200 - +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-22 13:40:21.141013+02:00 (in 299.984109 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 13:40:21 CEST)" (scheduled at 2023-07-22 13:35:21.141013+02:00) +INFO:root:2023-07-22 13:35:21.158894 : samedi, 22. juillet 2023 01:35:21 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 13:40: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 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-22 13:40:25.229661+02:00 (in 299.983168 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 13:40:25 CEST)" (scheduled at 2023-07-22 13:35:25.229661+02:00) +INFO:root:2023-07-22 13:35:25.248466 : samedi, 22. juillet 2023 01:35:25 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 13: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 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +INFO:root:2023-07-22 13:36:15.434669 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 13:36:15] "POST /myclass/api/Get_Given_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2023-07-22 13:36:26.179921 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 13:36:26] "POST /myclass/api/Get_Given_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2023-07-22 13:36:32.486626 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 13:36:32] "POST /myclass/api/Get_Given_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2023-07-22 13:36:54.193477 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 13:36:54] "POST /myclass/api/Get_Given_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2023-07-22 13:37:35.988400 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 13:37:35] "POST /myclass/api/Get_Given_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2023-07-22 13:38:08.031612 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-07-22 13:38:08.035803 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 13:38:08] "POST /myclass/api/Get_Given_Partner_Client/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 13:38:08] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2023-07-22 13:39:40.814840 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-07-22 13:39:40.818843 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 13:39:40] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-07-22 13:39:40.824666 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-07-22 13:39:40.825912 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-07-22 13:39:40.833180 : Connexion du partner recid = dbdd36f3d86a73e2bfac7b3f10f062ce1e7c22f7da37de192a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 13:39:40] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 13:39:40] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 13:39:40] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-07-22 13:39:41.693953 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 13:39:41] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 - +INFO:root:2023-07-22 13:39:45.296113 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 13:39:45] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2023-07-22 13:39:49.019738 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 13:39:49] "POST /myclass/api/Get_Given_Partner_Client/ HTTP/1.1" 200 - +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-22 13:45:21.141013+02:00 (in 299.993098 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 13:45:21 CEST)" (scheduled at 2023-07-22 13:40:21.141013+02:00) +INFO:root:2023-07-22 13:40:21.149914 : samedi, 22. juillet 2023 01:40:21 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 13: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 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-22 13:45:25.229661+02:00 (in 299.989245 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 13:45:25 CEST)" (scheduled at 2023-07-22 13:40:25.229661+02:00) +INFO:root:2023-07-22 13:40:25.250056 : samedi, 22. juillet 2023 01:40:25 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 13:45:25 CEST)" raised an exception +Traceback (most recent call last): + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job + retval = job.func(*job.args, **job.kwargs) + File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +INFO:root:2023-07-22 13:44:00.519376 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-07-22 13:44:00.523190 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-07-22 13:44:00.526200 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 13:44:00] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-07-22 13:44:00.531968 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 13:44:00] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-07-22 13:44:00.542648 : Connexion du partner recid = dbdd36f3d86a73e2bfac7b3f10f062ce1e7c22f7da37de192a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 13:44:00] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 13:44:00] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:root:2023-07-22 13:44:00.870301 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 13:44:00] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 - +INFO:root:2023-07-22 13:44:03.568833 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 13:44:03] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2023-07-22 13:44:05.713285 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 13:44:05] "POST /myclass/api/Get_Given_Partner_Client/ HTTP/1.1" 200 - +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-22 13:50:21.141013+02:00 (in 299.987304 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 13:50:21 CEST)" (scheduled at 2023-07-22 13:45:21.141013+02:00) +INFO:root:2023-07-22 13:45:21.154966 : samedi, 22. juillet 2023 01:45:21 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 13:50: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 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-22 13:50:25.229661+02:00 (in 299.990567 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 13:50:25 CEST)" (scheduled at 2023-07-22 13:45:25.229661+02:00) +INFO:root:2023-07-22 13:45:25.242509 : samedi, 22. juillet 2023 01:45:25 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 13:50:25 CEST)" raised an exception +Traceback (most recent call last): + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job + retval = job.func(*job.args, **job.kwargs) + File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +INFO:root:2023-07-22 13:47:12.057081 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-07-22 13:47:12.060080 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-07-22 13:47:12.064112 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 13:47:12] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-07-22 13:47:12.073726 : Connexion du partner recid = dbdd36f3d86a73e2bfac7b3f10f062ce1e7c22f7da37de192a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 13:47:12] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 13:47:12] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-07-22 13:47:12.086480 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 13:47:12] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:root:2023-07-22 13:47:12.530591 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 13:47:12] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 - +INFO:root:2023-07-22 13:47:21.360143 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 13:47:21] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2023-07-22 13:47:28.513534 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 13:47:28] "POST /myclass/api/Get_Given_Partner_Client/ HTTP/1.1" 200 - +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-22 13:55:21.141013+02:00 (in 299.984772 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 13:55:21 CEST)" (scheduled at 2023-07-22 13:50:21.141013+02:00) +INFO:root:2023-07-22 13:50:21.158240 : samedi, 22. juillet 2023 01:50:21 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 13:55: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 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-22 13:55:25.229661+02:00 (in 299.992200 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 13:55:25 CEST)" (scheduled at 2023-07-22 13:50:25.229661+02:00) +INFO:root:2023-07-22 13:50:25.240475 : samedi, 22. juillet 2023 01:50:25 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 13:55:25 CEST)" raised an exception +Traceback (most recent call last): + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job + retval = job.func(*job.args, **job.kwargs) + File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +INFO:root:2023-07-22 13:52:24.198018 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 13:52:24] "POST /myclass/api/Get_Given_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2023-07-22 13:53:24.755032 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 13:53:24] "POST /myclass/api/Get_Given_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2023-07-22 13:53:49.524020 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 13:53:49] "POST /myclass/api/Get_Given_Partner_Client/ HTTP/1.1" 200 - +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-22 14:00:21.141013+02:00 (in 299.992288 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 14:00:21 CEST)" (scheduled at 2023-07-22 13:55:21.141013+02:00) +INFO:root:2023-07-22 13:55:21.150705 : samedi, 22. juillet 2023 01:55:21 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 14:00: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 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-22 14:00:25.229661+02:00 (in 299.989466 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 14:00:25 CEST)" (scheduled at 2023-07-22 13:55:25.229661+02:00) +INFO:root:2023-07-22 13:55:25.243385 : samedi, 22. juillet 2023 01:55:25 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 14:00:25 CEST)" raised an exception +Traceback (most recent call last): + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job + retval = job.func(*job.args, **job.kwargs) + File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +INFO:root:2023-07-22 13:56:28.149603 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 13:56:28] "POST /myclass/api/Get_Given_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2023-07-22 13:58:28.006570 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 13:58:28] "POST /myclass/api/Get_Given_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2023-07-22 13:58:36.799840 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 13:58:36] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-07-22 13:58:36.805854 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-07-22 13:58:36.806858 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-07-22 13:58:36.812619 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-07-22 13:58:36.820975 : Connexion du partner recid = dbdd36f3d86a73e2bfac7b3f10f062ce1e7c22f7da37de192a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 13:58:36] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 13:58:36] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 13:58:36] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-07-22 13:58:37.446354 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 13:58:37] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 - +INFO:root:2023-07-22 13:58:43.940690 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 13:58:43] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2023-07-22 13:58:50.033229 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 13:58:50] "POST /myclass/api/Get_Given_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2023-07-22 13:59:45.390561 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 13:59:45] "POST /myclass/api/Get_Given_Partner_Client/ HTTP/1.1" 200 - +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-22 14:05:21.141013+02:00 (in 299.992216 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 14:05:21 CEST)" (scheduled at 2023-07-22 14:00:21.141013+02:00) +INFO:root:2023-07-22 14:00:21.150360 : samedi, 22. juillet 2023 02:00:21 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 14:05: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 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-22 14:05:25.229661+02:00 (in 299.995419 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 14:05:25 CEST)" (scheduled at 2023-07-22 14:00:25.229661+02:00) +INFO:root:2023-07-22 14:00:25.242600 : samedi, 22. juillet 2023 02:00:25 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 14:05:25 CEST)" raised an exception +Traceback (most recent call last): + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job + retval = job.func(*job.args, **job.kwargs) + File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +INFO:root:2023-07-22 14:01:05.410936 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 14:01:05] "POST /myclass/api/Get_Given_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2023-07-22 14:01:54.829889 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 14:01:54] "POST /myclass/api/Get_Given_Partner_Client/ HTTP/1.1" 200 - +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-22 14:10:21.141013+02:00 (in 299.986300 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 14:10:21 CEST)" (scheduled at 2023-07-22 14:05:21.141013+02:00) +INFO:root:2023-07-22 14:05:21.156696 : samedi, 22. juillet 2023 02:05:21 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 14:10: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 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-22 14:10:25.229661+02:00 (in 299.978394 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 14:10:25 CEST)" (scheduled at 2023-07-22 14:05:25.229661+02:00) +INFO:root:2023-07-22 14:05:25.259149 : samedi, 22. juillet 2023 02:05:25 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 14:10:25 CEST)" raised an exception +Traceback (most recent call last): + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job + retval = job.func(*job.args, **job.kwargs) + File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +INFO:root:2023-07-22 14:09:16.553099 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 14:09:16] "POST /myclass/api/Get_Given_Partner_Client/ HTTP/1.1" 200 - +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-22 14:15:21.141013+02:00 (in 299.991950 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 14:15:21 CEST)" (scheduled at 2023-07-22 14:10:21.141013+02:00) +INFO:root:2023-07-22 14:10:21.151620 : samedi, 22. juillet 2023 02:10:21 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 14:15: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 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-22 14:15:25.229661+02:00 (in 299.978160 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 14:15:25 CEST)" (scheduled at 2023-07-22 14:10:25.229661+02:00) +INFO:root:2023-07-22 14:10:25.254503 : samedi, 22. juillet 2023 02:10:25 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 14:15:25 CEST)" raised an exception +Traceback (most recent call last): + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job + retval = job.func(*job.args, **job.kwargs) + File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +INFO:root:2023-07-22 14:12:41.604118 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 14:12:41] "POST /myclass/api/Get_Given_Partner_Client/ HTTP/1.1" 200 - +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-22 14:20:21.141013+02:00 (in 299.994334 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 14:20:21 CEST)" (scheduled at 2023-07-22 14:15:21.141013+02:00) +INFO:root:2023-07-22 14:15:21.148683 : samedi, 22. juillet 2023 02:15:21 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 14:20: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 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-22 14:20:25.229661+02:00 (in 299.988533 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 14:20:25 CEST)" (scheduled at 2023-07-22 14:15:25.229661+02:00) +INFO:root:2023-07-22 14:15:25.243057 : samedi, 22. juillet 2023 02:15:25 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 14:20:25 CEST)" raised an exception +Traceback (most recent call last): + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job + retval = job.func(*job.args, **job.kwargs) + File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +INFO:root:2023-07-22 14:16:41.232568 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 14:16:41] "POST /myclass/api/Get_Given_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2023-07-22 14:16:56.858447 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-07-22 14:16:56.862256 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-07-22 14:16:56.866264 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 14:16:56] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-07-22 14:16:56.871288 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-07-22 14:16:56.884006 : Connexion du partner recid = dbdd36f3d86a73e2bfac7b3f10f062ce1e7c22f7da37de192a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 14:16:56] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 14:16:56] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 14:16:56] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-07-22 14:16:57.262308 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 14:16:57] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 - +INFO:root:2023-07-22 14:17:03.445903 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 14:17:03] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2023-07-22 14:17:07.636088 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 14:17:07] "POST /myclass/api/Get_Given_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2023-07-22 14:17:51.853623 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 14:17:51] "POST /myclass/api/Get_Given_Partner_Client/ HTTP/1.1" 200 - +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-22 14:25:21.141013+02:00 (in 299.984850 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 14:25:21 CEST)" (scheduled at 2023-07-22 14:20:21.141013+02:00) +INFO:root:2023-07-22 14:20:21.158163 : samedi, 22. juillet 2023 02:20:21 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 14:25: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 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-22 14:25:25.229661+02:00 (in 299.986562 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 14:25:25 CEST)" (scheduled at 2023-07-22 14:20:25.229661+02:00) +INFO:root:2023-07-22 14:20:25.245716 : samedi, 22. juillet 2023 02:20:25 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 14:25:25 CEST)" raised an exception +Traceback (most recent call last): + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job + retval = job.func(*job.args, **job.kwargs) + File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-22 14:30:21.141013+02:00 (in 299.993999 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 14:30:21 CEST)" (scheduled at 2023-07-22 14:25:21.141013+02:00) +INFO:root:2023-07-22 14:25:21.148786 : samedi, 22. juillet 2023 02:25:21 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 14:30: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 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-22 14:30:25.229661+02:00 (in 299.987706 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 14:30:25 CEST)" (scheduled at 2023-07-22 14:25:25.229661+02:00) +INFO:root:2023-07-22 14:25:25.250123 : samedi, 22. juillet 2023 02:25:25 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 14:30:25 CEST)" raised an exception +Traceback (most recent call last): + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job + retval = job.func(*job.args, **job.kwargs) + File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +INFO:root:2023-07-22 14:26:45.715131 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 14:26:45] "POST /myclass/api/Get_Given_Partner_Client/ HTTP/1.1" 200 - +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-22 14:35:21.141013+02:00 (in 299.997975 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 14:35:21 CEST)" (scheduled at 2023-07-22 14:30:21.141013+02:00) +INFO:root:2023-07-22 14:30:21.145043 : samedi, 22. juillet 2023 02:30:21 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 14:35: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 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-22 14:35:25.229661+02:00 (in 299.990572 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 14:35:25 CEST)" (scheduled at 2023-07-22 14:30:25.229661+02:00) +INFO:root:2023-07-22 14:30:25.241444 : samedi, 22. juillet 2023 02:30:25 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 14:35:25 CEST)" raised an exception +Traceback (most recent call last): + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job + retval = job.func(*job.args, **job.kwargs) + File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +INFO:root:2023-07-22 14:30:38.833570 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 14:30:38] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-22 14:40:21.141013+02:00 (in 299.993418 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 14:40:21 CEST)" (scheduled at 2023-07-22 14:35:21.141013+02:00) +INFO:root:2023-07-22 14:35:21.150512 : samedi, 22. juillet 2023 02:35:21 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 14:40: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 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-22 14:40:25.229661+02:00 (in 299.995641 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 14:40:25 CEST)" (scheduled at 2023-07-22 14:35:25.229661+02:00) +INFO:root:2023-07-22 14:35:25.242735 : samedi, 22. juillet 2023 02:35:25 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 14: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 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +INFO:root:2023-07-22 14:37:59.005299 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 14:37:59] "POST /myclass/api/Get_Given_Partner_Client/ HTTP/1.1" 200 - +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-22 14:45:21.141013+02:00 (in 299.995437 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 14:45:21 CEST)" (scheduled at 2023-07-22 14:40:21.141013+02:00) +INFO:root:2023-07-22 14:40:21.147669 : samedi, 22. juillet 2023 02:40:21 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 14: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 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-22 14:45:25.229661+02:00 (in 299.997552 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 14:45:25 CEST)" (scheduled at 2023-07-22 14:40:25.229661+02:00) +INFO:root:2023-07-22 14:40:25.241690 : samedi, 22. juillet 2023 02:40:25 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 14:45:25 CEST)" raised an exception +Traceback (most recent call last): + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job + retval = job.func(*job.args, **job.kwargs) + File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\partner_client.py', reloading +INFO:apscheduler.scheduler:Scheduler has been shut down +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added +INFO:werkzeug: * Restarting with stat +INFO:root:2023-07-22 14:44:48.715054 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-07-22 14:44:48.715054 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-07-22 14:44:48.715054 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-07-22 14:44:48.715054 : ++ FLASK PORT 5001 ++ +INFO:root:2023-07-22 14:44:48.715054 : ++ 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-22 14:49:48.840489+02:00 (in 299.995999 seconds) +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 632-522-489 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\partner_client.py', reloading +INFO:apscheduler.scheduler:Scheduler has been shut down +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added +INFO:werkzeug: * Restarting with stat +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-22 14:50:25.229661+02:00 (in 299.989675 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 14:50:25 CEST)" (scheduled at 2023-07-22 14:45:25.229661+02:00) +INFO:root:2023-07-22 14:45:25.242505 : samedi, 22. juillet 2023 02:45:25 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 14:50:25 CEST)" raised an exception +Traceback (most recent call last): + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job + retval = job.func(*job.args, **job.kwargs) + File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +INFO:root:2023-07-22 14:45:30.868341 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-07-22 14:45:30.869326 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-07-22 14:45:30.869326 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-07-22 14:45:30.869326 : ++ FLASK PORT 5001 ++ +INFO:root:2023-07-22 14:45:30.869326 : ++ 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-22 14:50:30.935027+02:00 (in 299.996940 seconds) +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 632-522-489 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\partner_client.py', reloading +INFO:apscheduler.scheduler:Scheduler has been shut down +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added +INFO:werkzeug: * Restarting with stat +INFO:root:2023-07-22 14:45:48.774918 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-07-22 14:45:48.775918 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-07-22 14:45:48.775918 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-07-22 14:45:48.775918 : ++ FLASK PORT 5001 ++ +INFO:root:2023-07-22 14:45:48.775918 : ++ 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-22 14:50:48.841198+02:00 (in 299.997998 seconds) +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 632-522-489 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\partner_client.py', reloading +INFO:apscheduler.scheduler:Scheduler has been shut down +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added +INFO:werkzeug: * Restarting with stat +INFO:root:2023-07-22 14:46:02.207646 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-07-22 14:46:02.208648 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-07-22 14:46:02.208648 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-07-22 14:46:02.208648 : ++ FLASK PORT 5001 ++ +INFO:root:2023-07-22 14:46:02.208648 : ++ 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-22 14:51:02.292107+02:00 (in 299.996998 seconds) +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 632-522-489 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\partner_client.py', reloading +INFO:apscheduler.scheduler:Scheduler has been shut down +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added +INFO:werkzeug: * Restarting with stat +INFO:root:2023-07-22 14:46:17.837628 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-07-22 14:46:17.837628 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-07-22 14:46:17.838629 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-07-22 14:46:17.838629 : ++ FLASK PORT 5001 ++ +INFO:root:2023-07-22 14:46:17.838629 : ++ 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-22 14:51:17.898132+02:00 (in 299.997527 seconds) +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 632-522-489 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\partner_client.py', reloading +INFO:apscheduler.scheduler:Scheduler has been shut down +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added +INFO:werkzeug: * Restarting with stat +INFO:root:2023-07-22 14:46:37.872395 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-07-22 14:46:37.872395 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-07-22 14:46:37.872395 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-07-22 14:46:37.872395 : ++ FLASK PORT 5001 ++ +INFO:root:2023-07-22 14:46:37.872395 : ++ 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-22 14:51:37.936755+02:00 (in 299.997334 seconds) +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 632-522-489 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\partner_client.py', reloading +INFO:apscheduler.scheduler:Scheduler has been shut down +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added +INFO:werkzeug: * Restarting with stat +INFO:root:2023-07-22 14:47:15.633604 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-07-22 14:47:15.633604 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-07-22 14:47:15.634618 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-07-22 14:47:15.634618 : ++ FLASK PORT 5001 ++ +INFO:root:2023-07-22 14:47:15.634618 : ++ 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-22 14:52:15.697787+02:00 (in 299.997002 seconds) +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 632-522-489 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\partner_client.py', reloading +INFO:apscheduler.scheduler:Scheduler has been shut down +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added +INFO:werkzeug: * Restarting with stat +INFO:root:2023-07-22 14:47:39.799952 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-07-22 14:47:39.799952 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-07-22 14:47:39.799952 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-07-22 14:47:39.799952 : ++ FLASK PORT 5001 ++ +INFO:root:2023-07-22 14:47:39.799952 : ++ 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-22 14:52:39.856143+02:00 (in 299.997435 seconds) +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 632-522-489 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\partner_client.py', reloading +INFO:apscheduler.scheduler:Scheduler has been shut down +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added +INFO:werkzeug: * Restarting with stat +INFO:root:2023-07-22 14:47:52.107310 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-07-22 14:47:52.108351 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-07-22 14:47:52.108351 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-07-22 14:47:52.108351 : ++ FLASK PORT 5001 ++ +INFO:root:2023-07-22 14:47:52.108351 : ++ 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-22 14:52:52.166144+02:00 (in 299.998004 seconds) +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 632-522-489 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\partner_client.py', reloading +INFO:apscheduler.scheduler:Scheduler has been shut down +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added +INFO:werkzeug: * Restarting with stat +INFO:root:2023-07-22 14:48:06.689693 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-07-22 14:48:06.689693 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-07-22 14:48:06.689693 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-07-22 14:48:06.689693 : ++ FLASK PORT 5001 ++ +INFO:root:2023-07-22 14:48:06.690732 : ++ 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-22 14:53:06.751209+02:00 (in 299.996899 seconds) +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 632-522-489 +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-22 14:55:25.229661+02:00 (in 299.986421 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 14:55:25 CEST)" (scheduled at 2023-07-22 14:50:25.229661+02:00) +INFO:root:2023-07-22 14:50:25.252903 : samedi, 22. juillet 2023 02:50:25 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 14:55:25 CEST)" raised an exception +Traceback (most recent call last): + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job + retval = job.func(*job.args, **job.kwargs) + File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 14:53:06 CEST)" (scheduled at 2023-07-22 14:53:06.751209+02:00) +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-22 14:58:06.751209+02:00 (in 299.997586 seconds) +INFO:root:2023-07-22 14:53:06.771324 : samedi, 22. juillet 2023 02:53:06 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 14: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 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-22 15:00:25.229661+02:00 (in 299.980489 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 15:00:25 CEST)" (scheduled at 2023-07-22 14:55:25.229661+02:00) +INFO:root:2023-07-22 14:55:25.260368 : samedi, 22. juillet 2023 02:55:25 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 15:00:25 CEST)" raised an exception +Traceback (most recent call last): + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job + retval = job.func(*job.args, **job.kwargs) + File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +INFO:root:2023-07-22 14:55:33.898325 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 14:55:33] "POST /myclass/api/Get_Given_Partner_Client/ HTTP/1.1" 200 - +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-22 15:03:06.751209+02:00 (in 299.988258 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 15:03:06 CEST)" (scheduled at 2023-07-22 14:58:06.751209+02:00) +INFO:root:2023-07-22 14:58:06.763951 : samedi, 22. juillet 2023 02:58:06 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 15:03: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 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +INFO:root:2023-07-22 14:58:26.099548 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 14:58:26] "POST /myclass/api/Get_Given_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2023-07-22 14:59:41.527158 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 14:59:41] "POST /myclass/api/Get_Given_Partner_Client/ HTTP/1.1" 200 - +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-22 15:05:25.229661+02:00 (in 299.994261 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 15:05:25 CEST)" (scheduled at 2023-07-22 15:00:25.229661+02:00) +INFO:root:2023-07-22 15:00:25.237395 : samedi, 22. juillet 2023 03:00:25 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 15:05:25 CEST)" raised an exception +Traceback (most recent call last): + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job + retval = job.func(*job.args, **job.kwargs) + File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +INFO:root:2023-07-22 15:00:33.212128 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-07-22 15:00:33.215127 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-07-22 15:00:33.218125 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 15:00:33] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-07-22 15:00:33.222123 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-07-22 15:00:33.231126 : Connexion du partner recid = dbdd36f3d86a73e2bfac7b3f10f062ce1e7c22f7da37de192a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 15:00:33] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 15:00:33] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 15:00:33] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-07-22 15:00:33.915959 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 15:00:33] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 - +INFO:root:2023-07-22 15:00:38.972804 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 15:00:38] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2023-07-22 15:00:41.422316 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 15:00:41] "POST /myclass/api/Get_Given_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2023-07-22 15:00:46.150723 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 15:00:46] "POST /myclass/api/Get_Given_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2023-07-22 15:00:55.192328 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 15:00:55] "POST /myclass/api/Get_Given_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2023-07-22 15:02:05.368679 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 15:02:05] "POST /myclass/api/Get_Given_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2023-07-22 15:02:49.971675 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 15:02:49] "POST /myclass/api/Get_Given_Partner_Client/ HTTP/1.1" 200 - +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-22 15:08:06.751209+02:00 (in 299.996606 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 15:08:06 CEST)" (scheduled at 2023-07-22 15:03:06.751209+02:00) +INFO:root:2023-07-22 15:03:06.756603 : samedi, 22. juillet 2023 03:03:06 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 15:08: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 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +INFO:root:2023-07-22 15:03:12.390623 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 15:03:12] "POST /myclass/api/Get_Given_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2023-07-22 15:04:01.242739 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-07-22 15:04:02.193717 : Update_Partner_Client -myprint() takes from 0 to 1 positional arguments but 2 were given - Line : 457 +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 15:04:02] "POST /myclass/api/Update_Partner_Client/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\partner_client.py', reloading +INFO:apscheduler.scheduler:Scheduler has been shut down +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added +INFO:werkzeug: * Restarting with stat +INFO:root:2023-07-22 15:04:57.922839 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-07-22 15:04:57.922839 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-07-22 15:04:57.922839 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-07-22 15:04:57.922839 : ++ FLASK PORT 5001 ++ +INFO:root:2023-07-22 15:04:57.922839 : ++ 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-22 15:09:58.008617+02:00 (in 299.996870 seconds) +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 632-522-489 +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-22 15:10:25.229661+02:00 (in 299.983885 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 15:10:25 CEST)" (scheduled at 2023-07-22 15:05:25.229661+02:00) +INFO:root:2023-07-22 15:05:25.247560 : samedi, 22. juillet 2023 03:05:25 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 15:10:25 CEST)" raised an exception +Traceback (most recent call last): + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job + retval = job.func(*job.args, **job.kwargs) + File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +INFO:root:2023-07-22 15:06:07.330083 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 15:06:07] "POST /myclass/api/Get_Given_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2023-07-22 15:06:14.788481 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 15:06:14] "POST /myclass/api/Update_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2023-07-22 15:07:27.583938 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 15:07:27] "POST /myclass/api/Get_Given_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2023-07-22 15:07:34.783275 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 15:07:34] "POST /myclass/api/Update_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2023-07-22 15:08:04.370665 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 15:08:04] "POST /myclass/api/Get_Given_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2023-07-22 15:08:11.088142 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 15:08:11] "POST /myclass/api/Update_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2023-07-22 15:09:40.499956 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 15:09:40] "POST /myclass/api/Update_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2023-07-22 15:09:45.864864 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 15:09:45] "POST /myclass/api/Update_Partner_Client/ HTTP/1.1" 200 - +DEBUG:apscheduler.scheduler:Looking for jobs to run +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 15:09:58 CEST)" (scheduled at 2023-07-22 15:09:58.008617+02:00) +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-22 15:14:58.008617+02:00 (in 299.992942 seconds) +INFO:root:2023-07-22 15:09:58.018284 : samedi, 22. juillet 2023 03:09:58 : Envoie des données de prefacturation : - 0 clients ==> A 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-22 15:14: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 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-22 15:15:25.229661+02:00 (in 299.997125 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 15:15:25 CEST)" (scheduled at 2023-07-22 15:10:25.229661+02:00) +INFO:root:2023-07-22 15:10:25.234545 : samedi, 22. juillet 2023 03:10:25 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 15:15:25 CEST)" raised an exception +Traceback (most recent call last): + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job + retval = job.func(*job.args, **job.kwargs) + File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +INFO:root:2023-07-22 15:11:10.423568 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 15:11:10] "POST /myclass/api/Get_Given_Partner_Client/ HTTP/1.1" 200 - +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-22 15:19:58.008617+02:00 (in 299.994737 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 15:19:58 CEST)" (scheduled at 2023-07-22 15:14:58.008617+02:00) +INFO:root:2023-07-22 15:14:58.016380 : samedi, 22. juillet 2023 03:14:58 : Envoie des données de prefacturation : - 0 clients ==> A 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-22 15:19: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 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-22 15:20:25.229661+02:00 (in 299.995598 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 15:20:25 CEST)" (scheduled at 2023-07-22 15:15:25.229661+02:00) +INFO:root:2023-07-22 15:15:25.236578 : samedi, 22. juillet 2023 03:15:25 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 15:20:25 CEST)" raised an exception +Traceback (most recent call last): + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job + retval = job.func(*job.args, **job.kwargs) + File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +INFO:root:2023-07-22 15:16:21.958529 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 15:16:21] "POST /myclass/api/Get_Given_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2023-07-22 15:16:53.467827 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 15:16:53] "POST /myclass/api/Get_Given_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2023-07-22 15:19:04.856316 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 15:19:04] "POST /myclass/api/Get_Given_Partner_Client/ HTTP/1.1" 200 - +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-22 15:24:58.008617+02:00 (in 299.987376 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 15:24:58 CEST)" (scheduled at 2023-07-22 15:19:58.008617+02:00) +INFO:root:2023-07-22 15:19:58.022244 : samedi, 22. juillet 2023 03:19:58 : Envoie des données de prefacturation : - 0 clients ==> A 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-22 15:24: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 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-22 15:25:25.229661+02:00 (in 299.994650 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 15:25:25 CEST)" (scheduled at 2023-07-22 15:20:25.229661+02:00) +INFO:root:2023-07-22 15:20:25.237004 : samedi, 22. juillet 2023 03:20:25 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 15:25:25 CEST)" raised an exception +Traceback (most recent call last): + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job + retval = job.func(*job.args, **job.kwargs) + File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +INFO:root:2023-07-22 15:21:21.379744 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 15:21:21] "POST /myclass/api/Get_Given_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2023-07-22 15:21:30.454383 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 15:21:30] "POST /myclass/api/Get_Given_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2023-07-22 15:21:36.871090 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 15:21:36] "POST /myclass/api/Get_Given_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2023-07-22 15:23:22.862500 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 15:23:22] "POST /myclass/api/Get_Given_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2023-07-22 15:23:28.438214 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-07-22 15:23:28.441209 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 15:23:28] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-07-22 15:23:28.445211 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-07-22 15:23:28.449226 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-07-22 15:23:28.452226 : Connexion du partner recid = dbdd36f3d86a73e2bfac7b3f10f062ce1e7c22f7da37de192a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 15:23:28] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 15:23:28] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 15:23:28] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-07-22 15:23:28.902517 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 15:23:28] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 - +INFO:root:2023-07-22 15:23:30.201122 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 15:23:30] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2023-07-22 15:23:32.601449 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 15:23:32] "POST /myclass/api/Get_Given_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2023-07-22 15:23:40.057268 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 15:23:40] "POST /myclass/api/Get_Given_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2023-07-22 15:23:50.744970 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 15:23:50] "POST /myclass/api/Get_Given_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2023-07-22 15:23:57.080167 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 15:23:57] "POST /myclass/api/Get_Given_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2023-07-22 15:24:39.268474 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 15:24:39] "POST /myclass/api/Get_Given_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2023-07-22 15:24:47.425640 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-07-22 15:24:47.428653 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 15:24:47] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-07-22 15:24:47.434642 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-07-22 15:24:47.439621 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-07-22 15:24:47.443115 : Connexion du partner recid = dbdd36f3d86a73e2bfac7b3f10f062ce1e7c22f7da37de192a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 15:24:47] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 15:24:47] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 15:24:47] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-07-22 15:24:48.079507 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 15:24:48] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 - +INFO:root:2023-07-22 15:24:49.086678 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 15:24:49] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2023-07-22 15:24:51.092227 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 15:24:51] "POST /myclass/api/Get_Given_Partner_Client/ HTTP/1.1" 200 - +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-22 15:29:58.008617+02:00 (in 299.995116 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 15:29:58 CEST)" (scheduled at 2023-07-22 15:24:58.008617+02:00) +INFO:root:2023-07-22 15:24:58.014860 : samedi, 22. juillet 2023 03:24:58 : Envoie des données de prefacturation : - 0 clients ==> A 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-22 15:29: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 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +INFO:root:2023-07-22 15:24:58.142759 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 15:24:58] "POST /myclass/api/Get_Given_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2023-07-22 15:25:04.636520 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 15:25:04] "POST /myclass/api/Get_Given_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2023-07-22 15:25:13.294860 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 15:25:13] "POST /myclass/api/Get_Given_Partner_Client/ HTTP/1.1" 200 - +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-22 15:30:25.229661+02:00 (in 299.992712 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 15:30:25 CEST)" (scheduled at 2023-07-22 15:25:25.229661+02:00) +INFO:root:2023-07-22 15:25:25.238420 : samedi, 22. juillet 2023 03:25:25 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 15:30:25 CEST)" raised an exception +Traceback (most recent call last): + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job + retval = job.func(*job.args, **job.kwargs) + File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +INFO:root:2023-07-22 15:27:46.673138 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 15:27:46] "POST /myclass/api/Get_Given_Partner_Client/ HTTP/1.1" 200 - +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-22 15:34:58.008617+02:00 (in 299.995160 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 15:34:58 CEST)" (scheduled at 2023-07-22 15:29:58.008617+02:00) +INFO:root:2023-07-22 15:29:58.015622 : samedi, 22. juillet 2023 03:29:58 : Envoie des données de prefacturation : - 0 clients ==> A 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-22 15:34: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 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +INFO:root:2023-07-22 15:29:58.419609 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 15:29:58] "POST /myclass/api/Get_Given_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2023-07-22 15:30:04.490598 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 15:30:04] "POST /myclass/api/Get_Given_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2023-07-22 15:30:12.015643 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 15:30:12] "POST /myclass/api/Update_Partner_Client/ HTTP/1.1" 200 - +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-22 15:35:25.229661+02:00 (in 299.991189 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 15:35:25 CEST)" (scheduled at 2023-07-22 15:30:25.229661+02:00) +INFO:root:2023-07-22 15:30:25.242020 : samedi, 22. juillet 2023 03:30:25 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 15:35:25 CEST)" raised an exception +Traceback (most recent call last): + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job + retval = job.func(*job.args, **job.kwargs) + File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +INFO:root:2023-07-22 15:31:01.845786 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 15:31:01] "POST /myclass/api/Get_Given_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2023-07-22 15:31:11.601041 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 15:31:11] "POST /myclass/api/Update_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2023-07-22 15:31:17.735334 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 15:31:17] "POST /myclass/api/Get_Given_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2023-07-22 15:31:26.308642 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 15:31:26] "POST /myclass/api/Update_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2023-07-22 15:31:34.253616 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 15:31:34] "POST /myclass/api/Get_Given_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2023-07-22 15:32:02.768061 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 15:32:02] "POST /myclass/api/Get_Given_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2023-07-22 15:32:06.971999 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 15:32:06] "POST /myclass/api/Get_Given_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2023-07-22 15:32:11.684506 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 15:32:11] "POST /myclass/api/Get_Given_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2023-07-22 15:32:16.139147 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 15:32:16] "POST /myclass/api/Get_Given_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2023-07-22 15:32:25.779649 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-07-22 15:32:25.783065 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 15:32:25] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-07-22 15:32:25.787332 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-07-22 15:32:25.791399 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-07-22 15:32:25.798094 : Connexion du partner recid = dbdd36f3d86a73e2bfac7b3f10f062ce1e7c22f7da37de192a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 15:32:25] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 15:32:25] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 15:32:25] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-07-22 15:32:26.527121 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 15:32:26] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 - +INFO:root:2023-07-22 15:32:27.910080 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 15:32:27] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2023-07-22 15:32:30.101150 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 15:32:30] "POST /myclass/api/Get_Given_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2023-07-22 15:34:47.915574 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 15:34:47] "POST /myclass/api/Get_Given_Partner_Client/ HTTP/1.1" 200 - +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-22 15:39:58.008617+02:00 (in 299.986294 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 15:39:58 CEST)" (scheduled at 2023-07-22 15:34:58.008617+02:00) +INFO:root:2023-07-22 15:34:58.024354 : samedi, 22. juillet 2023 03:34:58 : Envoie des données de prefacturation : - 0 clients ==> A 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-22 15: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 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +INFO:root:2023-07-22 15:35:01.487232 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-07-22 15:35:01.490508 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 15:35:01] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-07-22 15:35:01.495525 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-07-22 15:35:01.500004 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-07-22 15:35:01.503305 : Connexion du partner recid = dbdd36f3d86a73e2bfac7b3f10f062ce1e7c22f7da37de192a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 15:35:01] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 15:35:01] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 15:35:01] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-07-22 15:35:02.122946 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 15:35:02] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 - +INFO:root:2023-07-22 15:35:12.292275 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 15:35:12] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2023-07-22 15:35:18.897031 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 15:35:18] "POST /myclass/api/Get_Given_Partner_Client/ HTTP/1.1" 200 - +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-22 15:40:25.229661+02:00 (in 299.993633 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 15:40:25 CEST)" (scheduled at 2023-07-22 15:35:25.229661+02:00) +INFO:root:2023-07-22 15:35:25.238027 : samedi, 22. juillet 2023 03:35:25 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 15: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 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +INFO:root:2023-07-22 15:35:47.297222 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 15:35:47] "POST /myclass/api/Get_Given_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2023-07-22 15:36:00.883622 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 15:36:00] "POST /myclass/api/Update_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2023-07-22 15:36:06.137016 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 15:36:06] "POST /myclass/api/Get_Given_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2023-07-22 15:36:13.451666 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 15:36:13] "POST /myclass/api/Get_Given_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2023-07-22 15:36:46.373844 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 15:36:46] "POST /myclass/api/Get_Given_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2023-07-22 15:36:51.369923 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 15:36:51] "POST /myclass/api/Update_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2023-07-22 15:36:58.286687 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 15:36:58] "POST /myclass/api/Get_Given_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2023-07-22 15:37:04.219954 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 15:37:04] "POST /myclass/api/Get_Given_Partner_Client/ HTTP/1.1" 200 - +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-22 15:44:58.008617+02:00 (in 299.987120 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 15:44:58 CEST)" (scheduled at 2023-07-22 15:39:58.008617+02:00) +INFO:root:2023-07-22 15:39:58.023522 : samedi, 22. juillet 2023 03:39:58 : Envoie des données de prefacturation : - 0 clients ==> A 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-22 15:44: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 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-22 15:45:25.229661+02:00 (in 299.985437 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 15:45:25 CEST)" (scheduled at 2023-07-22 15:40:25.229661+02:00) +INFO:root:2023-07-22 15:40:25.247109 : samedi, 22. juillet 2023 03:40:25 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 15:45:25 CEST)" raised an exception +Traceback (most recent call last): + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job + retval = job.func(*job.args, **job.kwargs) + File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +INFO:root:2023-07-22 15:41:59.950527 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 15:41:59] "POST /myclass/api/Get_Given_Partner_Client/ HTTP/1.1" 200 - +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-22 15:49:58.008617+02:00 (in 299.992130 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 15:49:58 CEST)" (scheduled at 2023-07-22 15:44:58.008617+02:00) +INFO:root:2023-07-22 15:44:58.018497 : samedi, 22. juillet 2023 03:44:58 : Envoie des données de prefacturation : - 0 clients ==> A 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-22 15:49: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 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +INFO:root:2023-07-22 15:44:59.404689 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 15:44:59] "POST /myclass/api/Get_Given_Partner_Client/ HTTP/1.1" 200 - +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-22 15:50:25.229661+02:00 (in 299.996414 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 15:50:25 CEST)" (scheduled at 2023-07-22 15:45:25.229661+02:00) +INFO:root:2023-07-22 15:45:25.241549 : samedi, 22. juillet 2023 03:45:25 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 15:50:25 CEST)" raised an exception +Traceback (most recent call last): + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job + retval = job.func(*job.args, **job.kwargs) + File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\partner_client.py', reloading +INFO:apscheduler.scheduler:Scheduler has been shut down +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added +INFO:werkzeug: * Restarting with stat +INFO:root:2023-07-22 15:49:44.259198 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-07-22 15:49:44.259198 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-07-22 15:49:44.259198 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-07-22 15:49:44.259198 : ++ FLASK PORT 5001 ++ +INFO:root:2023-07-22 15:49:44.259198 : ++ 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-22 15:54:44.325216+02:00 (in 299.996975 seconds) +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 632-522-489 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\partner_client.py', reloading +INFO:apscheduler.scheduler:Scheduler has been shut down +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added +INFO:werkzeug: * Restarting with stat +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-22 15:55:25.229661+02:00 (in 299.992276 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 15:55:25 CEST)" (scheduled at 2023-07-22 15:50:25.229661+02:00) +INFO:root:2023-07-22 15:50:25.238983 : samedi, 22. juillet 2023 03:50:25 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 15:55:25 CEST)" raised an exception +Traceback (most recent call last): + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job + retval = job.func(*job.args, **job.kwargs) + File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +INFO:root:2023-07-22 15:50:31.032801 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-07-22 15:50:31.032801 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-07-22 15:50:31.032801 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-07-22 15:50:31.032801 : ++ FLASK PORT 5001 ++ +INFO:root:2023-07-22 15:50:31.032801 : ++ 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-22 15:55:31.087711+02:00 (in 299.991743 seconds) +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 632-522-489 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\partner_client.py', reloading +INFO:apscheduler.scheduler:Scheduler has been shut down +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added +INFO:werkzeug: * Restarting with stat +INFO:root:2023-07-22 15:51:15.258748 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-07-22 15:51:15.259749 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-07-22 15:51:15.259749 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-07-22 15:51:15.259749 : ++ FLASK PORT 5001 ++ +INFO:root:2023-07-22 15:51:15.259749 : ++ 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-22 15:56:15.316546+02:00 (in 299.997972 seconds) +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 632-522-489 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\partner_client.py', reloading +INFO:apscheduler.scheduler:Scheduler has been shut down +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added +INFO:werkzeug: * Restarting with stat +INFO:root:2023-07-22 15:52:34.877540 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-07-22 15:52:34.878541 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-07-22 15:52:34.878541 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-07-22 15:52:34.878541 : ++ FLASK PORT 5001 ++ +INFO:root:2023-07-22 15:52:34.879540 : ++ 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-22 15:57:34.936382+02:00 (in 299.996928 seconds) +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 632-522-489 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\partner_client.py', reloading +INFO:apscheduler.scheduler:Scheduler has been shut down +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added +INFO:werkzeug: * Restarting with stat +INFO:root:2023-07-22 15:53:04.171467 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-07-22 15:53:04.171467 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-07-22 15:53:04.171467 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-07-22 15:53:04.171467 : ++ FLASK PORT 5001 ++ +INFO:root:2023-07-22 15:53:04.171467 : ++ 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-22 15:58:04.237566+02:00 (in 299.996835 seconds) +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 632-522-489 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\partner_client.py', reloading +INFO:apscheduler.scheduler:Scheduler has been shut down +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added +INFO:werkzeug: * Restarting with stat +INFO:root:2023-07-22 15:53:20.313073 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-07-22 15:53:20.313073 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-07-22 15:53:20.313073 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-07-22 15:53:20.313073 : ++ FLASK PORT 5001 ++ +INFO:root:2023-07-22 15:53:20.314078 : ++ 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-22 15:58:20.537001+02:00 (in 299.995870 seconds) +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 632-522-489 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\partner_client.py', reloading +INFO:apscheduler.scheduler:Scheduler has been shut down +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added +INFO:werkzeug: * Restarting with stat +INFO:root:2023-07-22 15:53:36.645067 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-07-22 15:53:36.645067 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-07-22 15:53:36.645067 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-07-22 15:53:36.645067 : ++ FLASK PORT 5001 ++ +INFO:root:2023-07-22 15:53:36.645067 : ++ 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-22 15:58:36.716617+02:00 (in 299.996997 seconds) +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 632-522-489 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\partner_client.py', reloading +INFO:apscheduler.scheduler:Scheduler has been shut down +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added +INFO:werkzeug: * Restarting with stat +INFO:root:2023-07-22 15:53:50.006481 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-07-22 15:53:50.007485 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-07-22 15:53:50.007485 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-07-22 15:53:50.007485 : ++ FLASK PORT 5001 ++ +INFO:root:2023-07-22 15:53:50.007485 : ++ 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-22 15:58:50.071753+02:00 (in 299.996070 seconds) +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 632-522-489 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\partner_client.py', reloading +INFO:apscheduler.scheduler:Scheduler has been shut down +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added +INFO:werkzeug: * Restarting with stat +INFO:root:2023-07-22 15:54:07.441339 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-07-22 15:54:07.441339 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-07-22 15:54:07.441339 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-07-22 15:54:07.441339 : ++ FLASK PORT 5001 ++ +INFO:root:2023-07-22 15:54:07.442342 : ++ 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-22 15:59:07.501931+02:00 (in 299.996932 seconds) +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 632-522-489 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\partner_client.py', reloading +INFO:apscheduler.scheduler:Scheduler has been shut down +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added +INFO:werkzeug: * Restarting with stat +INFO:root:2023-07-22 15:54:31.707054 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-07-22 15:54:31.707054 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-07-22 15:54:31.707054 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-07-22 15:54:31.707054 : ++ FLASK PORT 5001 ++ +INFO:root:2023-07-22 15:54:31.707054 : ++ 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-22 15:59:31.765598+02:00 (in 299.996993 seconds) +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 632-522-489 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\partner_client.py', reloading +INFO:apscheduler.scheduler:Scheduler has been shut down +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added +INFO:werkzeug: * Restarting with stat +INFO:root:2023-07-22 15:54:46.533479 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-07-22 15:54:46.533479 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-07-22 15:54:46.533479 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-07-22 15:54:46.533479 : ++ FLASK PORT 5001 ++ +INFO:root:2023-07-22 15:54:46.533479 : ++ 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-22 15:59:46.643499+02:00 (in 299.995986 seconds) +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 632-522-489 +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-22 16:00:25.229661+02:00 (in 299.993505 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 16:00:25 CEST)" (scheduled at 2023-07-22 15:55:25.229661+02:00) +INFO:root:2023-07-22 15:55:25.239502 : samedi, 22. juillet 2023 03:55:25 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 16:00:25 CEST)" raised an exception +Traceback (most recent call last): + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job + retval = job.func(*job.args, **job.kwargs) + File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\partner_client.py', reloading +INFO:apscheduler.scheduler:Scheduler has been shut down +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added +INFO:werkzeug: * Restarting with stat +INFO:root:2023-07-22 15:57:33.546155 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-07-22 15:57:33.547159 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-07-22 15:57:33.547159 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-07-22 15:57:33.547159 : ++ FLASK PORT 5001 ++ +INFO:root:2023-07-22 15:57:33.547159 : ++ 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-22 16:02:33.604350+02:00 (in 299.996947 seconds) +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 632-522-489 +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-22 16:05:25.229661+02:00 (in 299.988905 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 16:05:25 CEST)" (scheduled at 2023-07-22 16:00:25.229661+02:00) +INFO:root:2023-07-22 16:00:25.242933 : samedi, 22. juillet 2023 04:00:25 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 16:05:25 CEST)" raised an exception +Traceback (most recent call last): + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job + retval = job.func(*job.args, **job.kwargs) + File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 16:02:33 CEST)" (scheduled at 2023-07-22 16:02:33.604350+02:00) +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-22 16:07:33.604350+02:00 (in 299.995396 seconds) +INFO:root:2023-07-22 16:02:33.613014 : samedi, 22. juillet 2023 04:02: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:05:00], next run at: 2023-07-22 16:07: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 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-22 16:10:25.229661+02:00 (in 299.985048 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 16:10:25 CEST)" (scheduled at 2023-07-22 16:05:25.229661+02:00) +INFO:root:2023-07-22 16:05:25.247691 : samedi, 22. juillet 2023 04:05:25 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 16:10:25 CEST)" raised an exception +Traceback (most recent call last): + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job + retval = job.func(*job.args, **job.kwargs) + File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +INFO:root:2023-07-22 16:06:03.669099 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 16:06:03] "POST /myclass/api/Get_Given_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2023-07-22 16:06:38.264428 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 16:06:38] "POST /myclass/api/Get_Given_Partner_Client/ HTTP/1.1" 200 - +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-22 16:12:33.604350+02:00 (in 299.987455 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 16:12:33 CEST)" (scheduled at 2023-07-22 16:07:33.604350+02:00) +INFO:root:2023-07-22 16:07:33.618894 : samedi, 22. juillet 2023 04:07: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:05:00], next run at: 2023-07-22 16:12:33 CEST)" raised an exception +Traceback (most recent call last): + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job + retval = job.func(*job.args, **job.kwargs) + File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-22 16:15:25.229661+02:00 (in 299.993288 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 16:15:25 CEST)" (scheduled at 2023-07-22 16:10:25.229661+02:00) +INFO:root:2023-07-22 16:10:25.238949 : samedi, 22. juillet 2023 04:10:25 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 16:15:25 CEST)" raised an exception +Traceback (most recent call last): + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job + retval = job.func(*job.args, **job.kwargs) + File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-22 16:17:33.604350+02:00 (in 299.995674 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 16:17:33 CEST)" (scheduled at 2023-07-22 16:12:33.604350+02:00) +INFO:root:2023-07-22 16:12:33.611499 : samedi, 22. juillet 2023 04:12:33 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 16:17: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 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-22 16:20:25.229661+02:00 (in 299.984052 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 16:20:25 CEST)" (scheduled at 2023-07-22 16:15:25.229661+02:00) +INFO:root:2023-07-22 16:15:25.247621 : samedi, 22. juillet 2023 04:15:25 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 16:20:25 CEST)" raised an exception +Traceback (most recent call last): + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job + retval = job.func(*job.args, **job.kwargs) + File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-22 16:22:33.604350+02:00 (in 299.983775 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 16:22:33 CEST)" (scheduled at 2023-07-22 16:17:33.604350+02:00) +INFO:root:2023-07-22 16:17:33.622536 : samedi, 22. juillet 2023 04:17: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:05:00], next run at: 2023-07-22 16:22: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 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +INFO:root:2023-07-22 16:18:50.840482 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 16:18:50] "POST /myclass/api/Get_Given_Partner_Client/ HTTP/1.1" 200 - +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-22 16:25:25.229661+02:00 (in 299.998002 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 16:25:25 CEST)" (scheduled at 2023-07-22 16:20:25.229661+02:00) +INFO:root:2023-07-22 16:20:25.233659 : samedi, 22. juillet 2023 04:20:25 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 16:25:25 CEST)" raised an exception +Traceback (most recent call last): + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job + retval = job.func(*job.args, **job.kwargs) + File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +INFO:root:2023-07-22 16:22:12.021182 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 16:22:12] "POST /myclass/api/Get_Given_Partner_Client/ HTTP/1.1" 200 - +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-22 16:27:33.604350+02:00 (in 299.988566 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 16:27:33 CEST)" (scheduled at 2023-07-22 16:22:33.604350+02:00) +INFO:root:2023-07-22 16:22:33.617742 : samedi, 22. juillet 2023 04:22: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:05:00], next run at: 2023-07-22 16:27:33 CEST)" raised an exception +Traceback (most recent call last): + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job + retval = job.func(*job.args, **job.kwargs) + File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-22 16:30:25.229661+02:00 (in 299.990538 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 16:30:25 CEST)" (scheduled at 2023-07-22 16:25:25.229661+02:00) +INFO:root:2023-07-22 16:25:25.242684 : samedi, 22. juillet 2023 04:25:25 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 16:30:25 CEST)" raised an exception +Traceback (most recent call last): + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job + retval = job.func(*job.args, **job.kwargs) + File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-22 16:32:33.604350+02:00 (in 299.987855 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 16:32:33 CEST)" (scheduled at 2023-07-22 16:27:33.604350+02:00) +INFO:root:2023-07-22 16:27:33.618532 : samedi, 22. juillet 2023 04:27:33 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 16:32: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 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-22 16:35:25.229661+02:00 (in 299.986456 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 16:35:25 CEST)" (scheduled at 2023-07-22 16:30:25.229661+02:00) +INFO:root:2023-07-22 16:30:25.246202 : samedi, 22. juillet 2023 04:30:25 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 16:35:25 CEST)" raised an exception +Traceback (most recent call last): + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job + retval = job.func(*job.args, **job.kwargs) + File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-22 16:37:33.604350+02:00 (in 299.993548 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 16:37:33 CEST)" (scheduled at 2023-07-22 16:32:33.604350+02:00) +INFO:root:2023-07-22 16:32:33.612430 : samedi, 22. juillet 2023 04:32: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:05:00], next run at: 2023-07-22 16:37: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 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +INFO:root:2023-07-22 16:32:36.567083 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 16:32:36] "POST /myclass/api/Get_Given_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2023-07-22 16:32:55.035204 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-07-22 16:32:55.038209 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-07-22 16:32:55.042552 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 16:32:55] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-07-22 16:32:55.046540 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 16:32:55] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:root:2023-07-22 16:32:55.057893 : Connexion du partner recid = dbdd36f3d86a73e2bfac7b3f10f062ce1e7c22f7da37de192a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 16:32:55] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 16:32:55] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-07-22 16:32:55.505528 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 16:32:55] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 - +INFO:root:2023-07-22 16:32:57.420854 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 16:32:57] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2023-07-22 16:32:59.285263 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 16:32:59] "POST /myclass/api/Get_Given_Partner_Client/ HTTP/1.1" 200 - +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-22 16:40:25.229661+02:00 (in 299.986678 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 16:40:25 CEST)" (scheduled at 2023-07-22 16:35:25.229661+02:00) +INFO:root:2023-07-22 16:35:25.248129 : samedi, 22. juillet 2023 04:35:25 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 16: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 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +INFO:root:2023-07-22 16:35:55.967106 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 16:35:55] "POST /myclass/api/Get_Given_Partner_Client/ HTTP/1.1" 200 - +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-22 16:42:33.604350+02:00 (in 299.986037 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 16:42:33 CEST)" (scheduled at 2023-07-22 16:37:33.604350+02:00) +INFO:root:2023-07-22 16:37:33.620311 : samedi, 22. juillet 2023 04:37: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:05:00], next run at: 2023-07-22 16:42:33 CEST)" raised an exception +Traceback (most recent call last): + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job + retval = job.func(*job.args, **job.kwargs) + File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +INFO:root:2023-07-22 16:37:50.944618 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 16:37:50] "POST /myclass/api/Get_Given_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2023-07-22 16:38:17.187328 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 16:38:17] "POST /myclass/api/Get_Given_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2023-07-22 16:38:29.884433 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-07-22 16:38:29.889603 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-07-22 16:38:29.892541 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 16:38:29] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-07-22 16:38:29.896577 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-07-22 16:38:29.902488 : Connexion du partner recid = dbdd36f3d86a73e2bfac7b3f10f062ce1e7c22f7da37de192a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 16:38:29] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 16:38:29] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 16:38:29] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-07-22 16:38:30.459706 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 16:38:30] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 - +INFO:root:2023-07-22 16:38:31.728878 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 16:38:31] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2023-07-22 16:38:33.487095 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 16:38:33] "POST /myclass/api/Get_Given_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2023-07-22 16:38:45.418793 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-07-22 16:38:46.588073 : Update_Partner_Client - L'adresse email de facturation sdqsdsq n'est pas valide +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 16:38:46] "POST /myclass/api/Update_Partner_Client/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\partner_client.py', reloading +INFO:apscheduler.scheduler:Scheduler has been shut down +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added +INFO:werkzeug: * Restarting with stat +INFO:root:2023-07-22 16:39:41.356226 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-07-22 16:39:41.357227 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-07-22 16:39:41.357227 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-07-22 16:39:41.357227 : ++ FLASK PORT 5001 ++ +INFO:root:2023-07-22 16:39:41.357227 : ++ 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-22 16:44:41.436284+02:00 (in 299.996784 seconds) +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 632-522-489 +INFO:root:2023-07-22 16:40:09.945992 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-07-22 16:40:10.529736 : Get_Given_Partner_Client Le champ 'nom' n'existe pas +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 16:40:10] "POST /myclass/api/Get_Given_Partner_Client/ HTTP/1.1" 200 - +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-22 16:45:25.229661+02:00 (in 299.986033 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 16:45:25 CEST)" (scheduled at 2023-07-22 16:40:25.229661+02:00) +INFO:root:2023-07-22 16:40:25.245632 : samedi, 22. juillet 2023 04:40:25 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 16:45:25 CEST)" raised an exception +Traceback (most recent call last): + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job + retval = job.func(*job.args, **job.kwargs) + File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +INFO:root:2023-07-22 16:41:43.481228 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-07-22 16:41:43.484872 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-07-22 16:41:43.488393 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-07-22 16:41:43.492984 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 16:41:43] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 16:41:43] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:root:2023-07-22 16:41:43.501544 : Connexion du partner recid = dbdd36f3d86a73e2bfac7b3f10f062ce1e7c22f7da37de192a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 16:41:43] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 16:41:43] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-07-22 16:41:43.940952 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 16:41:43] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 - +INFO:root:2023-07-22 16:41:45.694203 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 16:41:45] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2023-07-22 16:41:48.348883 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 16:41:48] "POST /myclass/api/Get_Given_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2023-07-22 16:44:39.334743 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 16:44:39] "POST /myclass/api/Get_Given_Partner_Client/ HTTP/1.1" 200 - +DEBUG:apscheduler.scheduler:Looking for jobs to run +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 16:44:41 CEST)" (scheduled at 2023-07-22 16:44:41.436284+02:00) +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-22 16:49:41.436284+02:00 (in 299.988259 seconds) +INFO:root:2023-07-22 16:44:41.450175 : samedi, 22. juillet 2023 04:44:41 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 16:49: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 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-22 16:50:25.229661+02:00 (in 299.982179 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 16:50:25 CEST)" (scheduled at 2023-07-22 16:45:25.229661+02:00) +INFO:root:2023-07-22 16:45:25.250841 : samedi, 22. juillet 2023 04:45:25 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 16:50:25 CEST)" raised an exception +Traceback (most recent call last): + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job + retval = job.func(*job.args, **job.kwargs) + File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-22 16:54:41.436284+02:00 (in 299.987186 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 16:54:41 CEST)" (scheduled at 2023-07-22 16:49:41.436284+02:00) +INFO:root:2023-07-22 16:49:41.451107 : samedi, 22. juillet 2023 04:49:41 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 16: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 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-22 16:55:25.229661+02:00 (in 299.988339 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 16:55:25 CEST)" (scheduled at 2023-07-22 16:50:25.229661+02:00) +INFO:root:2023-07-22 16:50:25.243325 : samedi, 22. juillet 2023 04:50:25 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 16:55:25 CEST)" raised an exception +Traceback (most recent call last): + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job + retval = job.func(*job.args, **job.kwargs) + File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-22 16:59:41.436284+02:00 (in 299.998715 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 16:59:41 CEST)" (scheduled at 2023-07-22 16:54:41.436284+02:00) +INFO:root:2023-07-22 16:54:41.440442 : samedi, 22. juillet 2023 04:54:41 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 16:59: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 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-22 17:00:25.229661+02:00 (in 299.997265 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 17:00:25 CEST)" (scheduled at 2023-07-22 16:55:25.229661+02:00) +INFO:root:2023-07-22 16:55:25.235062 : samedi, 22. juillet 2023 04:55:25 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 17:00:25 CEST)" raised an exception +Traceback (most recent call last): + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job + retval = job.func(*job.args, **job.kwargs) + File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +INFO:root:2023-07-22 16:56:17.879070 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 16:56:17] "POST /myclass/api/Get_Given_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2023-07-22 16:56:45.866530 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 16:56:45] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2023-07-22 16:56:51.651788 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 16:56:51] "POST /myclass/api/Get_Given_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2023-07-22 16:58:05.110651 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 16:58:05] "POST /myclass/api/Get_Given_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2023-07-22 16:58:11.365725 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-07-22 16:58:11.368913 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-07-22 16:58:11.371439 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 16:58:11] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-07-22 16:58:11.376448 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-07-22 16:58:11.382439 : Connexion du partner recid = dbdd36f3d86a73e2bfac7b3f10f062ce1e7c22f7da37de192a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 16:58:11] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 16:58:11] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 16:58:11] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-07-22 16:58:11.905956 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 16:58:11] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 - +INFO:root:2023-07-22 16:58:13.376900 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 16:58:13] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2023-07-22 16:58:15.629967 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 16:58:15] "POST /myclass/api/Get_Given_Partner_Client/ HTTP/1.1" 200 - +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-22 17:04:41.436284+02:00 (in 299.991505 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 17:04:41 CEST)" (scheduled at 2023-07-22 16:59:41.436284+02:00) +INFO:root:2023-07-22 16:59:41.446752 : samedi, 22. juillet 2023 04:59:41 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 17:04: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 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-22 17:05:25.229661+02:00 (in 299.991794 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 17:05:25 CEST)" (scheduled at 2023-07-22 17:00:25.229661+02:00) +INFO:root:2023-07-22 17:00:25.240863 : samedi, 22. juillet 2023 05:00:25 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 17:05:25 CEST)" raised an exception +Traceback (most recent call last): + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job + retval = job.func(*job.args, **job.kwargs) + File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +INFO:root:2023-07-22 17:01:27.610184 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 17:01:27] "POST /myclass/api/Get_Given_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2023-07-22 17:01:33.225482 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 17:01:33] "POST /myclass/api/Get_Given_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2023-07-22 17:01:34.797367 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 17:01:34] "POST /myclass/api/Get_Given_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2023-07-22 17:01:55.976301 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-07-22 17:01:55.979804 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 17:01:55] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-07-22 17:01:55.983806 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-07-22 17:01:55.987805 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-07-22 17:01:55.991799 : Connexion du partner recid = dbdd36f3d86a73e2bfac7b3f10f062ce1e7c22f7da37de192a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 17:01:55] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 17:01:55] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 17:01:56] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-07-22 17:01:56.795765 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 17:01:56] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 - +INFO:root:2023-07-22 17:01:57.573259 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 17:01:57] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2023-07-22 17:01:59.467660 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 17:01:59] "POST /myclass/api/Get_Given_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2023-07-22 17:03:52.149188 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 17:03:52] "POST /myclass/api/Get_Given_Partner_Client/ HTTP/1.1" 200 - +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-22 17:09:41.436284+02:00 (in 299.984295 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 17:09:41 CEST)" (scheduled at 2023-07-22 17:04:41.436284+02:00) +INFO:root:2023-07-22 17:04:41.453989 : samedi, 22. juillet 2023 05:04:41 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 17:09: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 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-22 17:10:25.229661+02:00 (in 299.991212 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 17:10:25 CEST)" (scheduled at 2023-07-22 17:05:25.229661+02:00) +INFO:root:2023-07-22 17:05:25.241125 : samedi, 22. juillet 2023 05:05:25 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 17:10:25 CEST)" raised an exception +Traceback (most recent call last): + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job + retval = job.func(*job.args, **job.kwargs) + File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +INFO:root:2023-07-22 17:05:26.903285 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 17:05:26] "POST /myclass/api/Get_Given_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2023-07-22 17:07:59.758813 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 17:07:59] "POST /myclass/api/Get_Given_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2023-07-22 17:08:16.327387 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-07-22 17:08:16.330548 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-07-22 17:08:16.334572 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 17:08:16] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-07-22 17:08:16.339102 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-07-22 17:08:16.348104 : Connexion du partner recid = dbdd36f3d86a73e2bfac7b3f10f062ce1e7c22f7da37de192a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 17:08:16] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 17:08:16] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 17:08:16] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-07-22 17:08:17.001898 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 17:08:17] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 - +INFO:root:2023-07-22 17:09:04.711612 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-07-22 17:09:04.714641 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 17:09:04] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-07-22 17:09:04.720995 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-07-22 17:09:04.724209 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-07-22 17:09:04.728438 : Connexion du partner recid = dbdd36f3d86a73e2bfac7b3f10f062ce1e7c22f7da37de192a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 17:09:04] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 17:09:04] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 17:09:04] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-07-22 17:09:05.219474 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 17:09:05] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 - +INFO:root:2023-07-22 17:09:06.258012 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 17:09:06] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2023-07-22 17:09:09.108962 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 17:09:09] "POST /myclass/api/Get_Given_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2023-07-22 17:09:24.937274 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 17:09:24] "POST /myclass/api/Get_Given_Partner_Client/ HTTP/1.1" 200 - +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-22 17:14:41.436284+02:00 (in 299.984304 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 17:14:41 CEST)" (scheduled at 2023-07-22 17:09:41.436284+02:00) +INFO:root:2023-07-22 17:09:41.453956 : samedi, 22. juillet 2023 05:09:41 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 17:14: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 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-22 17:15:25.229661+02:00 (in 299.997152 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 17:15:25 CEST)" (scheduled at 2023-07-22 17:10:25.229661+02:00) +INFO:root:2023-07-22 17:10:25.234212 : samedi, 22. juillet 2023 05:10:25 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 17:15:25 CEST)" raised an exception +Traceback (most recent call last): + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job + retval = job.func(*job.args, **job.kwargs) + File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +INFO:root:2023-07-22 17:12:09.294592 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 17:12:09] "POST /myclass/api/Get_Given_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2023-07-22 17:12:53.777954 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 17:12:53] "POST /myclass/api/Get_Given_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2023-07-22 17:14:03.310348 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 17:14:03] "POST /myclass/api/Get_Given_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2023-07-22 17:14:06.981189 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-07-22 17:14:06.984182 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-07-22 17:14:06.987186 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 17:14:06] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-07-22 17:14:06.990185 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 17:14:06] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:root:2023-07-22 17:14:06.999617 : Connexion du partner recid = dbdd36f3d86a73e2bfac7b3f10f062ce1e7c22f7da37de192a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 17:14:07] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 17:14:07] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-07-22 17:14:07.549795 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 17:14:07] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 - +INFO:root:2023-07-22 17:14:09.551469 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 17:14:09] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-22 17:19:41.436284+02:00 (in 299.990283 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 17:19:41 CEST)" (scheduled at 2023-07-22 17:14:41.436284+02:00) +INFO:root:2023-07-22 17:14:41.448235 : samedi, 22. juillet 2023 05:14:41 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 17:19: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 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +INFO:root:2023-07-22 17:14:47.665732 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-07-22 17:14:47.669742 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 17:14:47] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-07-22 17:14:47.674751 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-07-22 17:14:47.678874 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-07-22 17:14:47.682403 : Connexion du partner recid = dbdd36f3d86a73e2bfac7b3f10f062ce1e7c22f7da37de192a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 17:14:47] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 17:14:47] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 17:14:47] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-07-22 17:14:48.171860 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 17:14:48] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 - +INFO:root:2023-07-22 17:14:56.676264 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-07-22 17:14:56.679698 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-07-22 17:14:56.682727 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 17:14:56] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-07-22 17:14:56.686070 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 17:14:56] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 17:14:56] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-07-22 17:14:56.701073 : Connexion du partner recid = dbdd36f3d86a73e2bfac7b3f10f062ce1e7c22f7da37de192a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 17:14:56] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:root:2023-07-22 17:14:57.286893 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 17:14:57] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 - +INFO:root:2023-07-22 17:14:59.018739 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 17:14:59] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2023-07-22 17:15:00.949286 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 17:15:00] "POST /myclass/api/Get_Given_Partner_Client/ HTTP/1.1" 200 - +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-22 17:20:25.229661+02:00 (in 299.998863 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 17:20:25 CEST)" (scheduled at 2023-07-22 17:15:25.229661+02:00) +INFO:root:2023-07-22 17:15:25.232791 : samedi, 22. juillet 2023 05:15:25 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 17:20:25 CEST)" raised an exception +Traceback (most recent call last): + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job + retval = job.func(*job.args, **job.kwargs) + File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +INFO:root:2023-07-22 17:16:18.542382 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-07-22 17:16:18.552174 : Get_Given_Partner_Client Le champ 'nom' n'existe pas +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 17:16:18] "POST /myclass/api/Get_Given_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2023-07-22 17:18:45.598164 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 17:18:45] "POST /myclass/api/Get_Given_Partner_Client/ HTTP/1.1" 200 - +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-22 17:24:41.436284+02:00 (in 299.997223 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 17:24:41 CEST)" (scheduled at 2023-07-22 17:19:41.436284+02:00) +INFO:root:2023-07-22 17:19:41.440785 : samedi, 22. juillet 2023 05:19:41 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 17:24: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 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-22 17:25:25.229661+02:00 (in 299.987006 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 17:25:25 CEST)" (scheduled at 2023-07-22 17:20:25.229661+02:00) +INFO:root:2023-07-22 17:20:25.244653 : samedi, 22. juillet 2023 05:20:25 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 17:25:25 CEST)" raised an exception +Traceback (most recent call last): + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job + retval = job.func(*job.args, **job.kwargs) + File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +INFO:root:2023-07-22 17:22:52.733508 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 17:22:52] "POST /myclass/api/Get_Given_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2023-07-22 17:23:04.589139 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 17:23:04] "POST /myclass/api/Update_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2023-07-22 17:23:30.691164 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 17:23:30] "POST /myclass/api/Update_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2023-07-22 17:23:58.425602 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 17:23:58] "POST /myclass/api/Update_Partner_Client/ HTTP/1.1" 200 - +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-22 17:29:41.436284+02:00 (in 299.986118 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 17:29:41 CEST)" (scheduled at 2023-07-22 17:24:41.436284+02:00) +INFO:root:2023-07-22 17:24:41.452351 : samedi, 22. juillet 2023 05:24:41 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 17:29:41 CEST)" raised an exception +Traceback (most recent call last): + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job + retval = job.func(*job.args, **job.kwargs) + File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-22 17:30:25.229661+02:00 (in 299.989397 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 17:30:25 CEST)" (scheduled at 2023-07-22 17:25:25.229661+02:00) +INFO:root:2023-07-22 17:25:25.243248 : samedi, 22. juillet 2023 05:25:25 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 17:30:25 CEST)" raised an exception +Traceback (most recent call last): + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job + retval = job.func(*job.args, **job.kwargs) + File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +INFO:root:2023-07-22 17:26:20.592044 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 17:26:20] "POST /myclass/api/Get_Given_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2023-07-22 17:26:30.899940 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 17:26:30] "POST /myclass/api/Update_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2023-07-22 17:27:07.664059 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 17:27:07] "POST /myclass/api/Get_Given_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2023-07-22 17:27:37.261555 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 17:27:37] "POST /myclass/api/Get_Given_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2023-07-22 17:28:36.633702 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 17:28:36] "POST /myclass/api/Get_Given_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2023-07-22 17:28:41.490578 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 17:28:41] "POST /myclass/api/Get_Given_Partner_Client/ HTTP/1.1" 200 - +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-22 17:34:41.436284+02:00 (in 299.987166 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 17:34:41 CEST)" (scheduled at 2023-07-22 17:29:41.436284+02:00) +INFO:root:2023-07-22 17:29:41.450672 : samedi, 22. juillet 2023 05:29:41 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 17:34: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 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-22 17:35:25.229661+02:00 (in 299.997017 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 17:35:25 CEST)" (scheduled at 2023-07-22 17:30:25.229661+02:00) +INFO:root:2023-07-22 17:30:25.238644 : samedi, 22. juillet 2023 05:30:25 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 17:35:25 CEST)" raised an exception +Traceback (most recent call last): + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job + retval = job.func(*job.args, **job.kwargs) + File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +INFO:root:2023-07-22 17:32:14.960742 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 17:32:14] "POST /myclass/api/Get_Given_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2023-07-22 17:33:28.576782 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 17:33:28] "POST /myclass/api/Get_Given_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2023-07-22 17:34:00.139234 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 17:34:00] "POST /myclass/api/Get_Given_Partner_Client/ HTTP/1.1" 200 - +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-22 17:39:41.436284+02:00 (in 299.993571 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 17:39:41 CEST)" (scheduled at 2023-07-22 17:34:41.436284+02:00) +INFO:root:2023-07-22 17:34:41.443872 : samedi, 22. juillet 2023 05:34:41 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 17:39: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 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-22 17:40:25.229661+02:00 (in 299.986228 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 17:40:25 CEST)" (scheduled at 2023-07-22 17:35:25.229661+02:00) +INFO:root:2023-07-22 17:35:25.245482 : samedi, 22. juillet 2023 05:35:25 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 17: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 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +INFO:root:2023-07-22 17:38:44.222875 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 17:38:44] "POST /myclass/api/Get_Given_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2023-07-22 17:38:47.466972 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 17:38:47] "POST /myclass/api/Get_Given_Partner_Client/ HTTP/1.1" 200 - +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-22 17:44:41.436284+02:00 (in 299.988051 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 17:44:41 CEST)" (scheduled at 2023-07-22 17:39:41.436284+02:00) +INFO:root:2023-07-22 17:39:41.450233 : samedi, 22. juillet 2023 05:39:41 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 17:44: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 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +INFO:root:2023-07-22 17:40:08.335539 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 17:40:08] "POST /myclass/api/Get_Given_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2023-07-22 17:40:14.583463 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 17:40:14] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2023-07-22 17:40:18.819293 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Jul/2023 17:40:18] "POST /myclass/api/Get_Given_Partner_Client/ HTTP/1.1" 200 - +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-22 17:45:25.229661+02:00 (in 299.988209 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 17:45:25 CEST)" (scheduled at 2023-07-22 17:40:25.229661+02:00) +INFO:root:2023-07-22 17:40:25.244454 : samedi, 22. juillet 2023 05:40:25 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-22 17:45:25 CEST)" raised an exception +Traceback (most recent call last): + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job + retval = job.func(*job.args, **job.kwargs) + File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. diff --git a/appel_offre.py b/appel_offre.py index 4a2e5fb..352d80c 100644 --- a/appel_offre.py +++ b/appel_offre.py @@ -209,7 +209,7 @@ def Add_Appel_Offre(diction): if (tmp_count > 0): mycommon.myprint( str(inspect.stack()[0][ - 3]) + " - Cet appel d'offre est deja enregistré : external_code = ", str(external_code)) + 3]) + " - Cet appel d'offre est deja enregistré : external_code = "+ str(external_code)) return False, " - Cet appel d'offre est deja enregistré " @@ -615,7 +615,7 @@ def Update_Appel_Offre(diction): if ("_id" not in result.keys()): mycommon.myprint( " Impossible de mettre à jour l'appel d'offre: external_code = " + str(external_code)) - return False, " Impossible de mettre à jour l'appel d'offre " + return False, " Impossible de mettre à jour l'appel d'offre " return True, " L'appel d'offre a été correctement mise à jour" @@ -692,7 +692,7 @@ def Get_Given_Appel_Offre(diction): print(" #### data_cle 01= " + str(data_cle)) - for retval in MYSY_GV.dbname[''].find(data_cle): + for retval in MYSY_GV.dbname['appel_offre'].find(data_cle): user = retval user['id'] = str(val_tmp) val_tmp = val_tmp + 1 @@ -785,7 +785,7 @@ def Get_List_Appel_Offre(diction): print(" #### data_cle 01= " + str(data_cle)) - for retval in MYSY_GV.dbname[''].find(data_cle): + for retval in MYSY_GV.dbname['appel_offre'].find(data_cle): user = retval user['id'] = str(val_tmp) val_tmp = val_tmp + 1 diff --git a/main.py b/main.py index b5261c2..3704d64 100644 --- a/main.py +++ b/main.py @@ -3249,6 +3249,61 @@ def Add_Partner_Client(): return jsonify(status=localStatus, message=message) +""" +API de mise à jour du client d'un partner +""" +@app.route('/myclass/api/Update_Partner_Client/', methods=['POST','GET']) +@crossdomain(origin='*') +def Update_Partner_Client(): + # On recupere le corps (payload) de la requete + payload = mycommon.strip_dictionary (request.form.to_dict()) + print(" ### Update_Partner_Client : payload = ",payload) + localStatus, message = partner_client.Update_Partner_Client(payload) + return jsonify(status=localStatus, message=message) + + + +""" +API de recuperation de la liste des clients d'un partner +""" +@app.route('/myclass/api/Get_Partner_List_Partner_Client/', methods=['POST','GET']) +@crossdomain(origin='*') +def Get_Partner_List_Partner_Client(): + # On recupere le corps (payload) de la requete + payload = mycommon.strip_dictionary (request.form.to_dict()) + print(" ### Get_Partner_List_Partner_Client : payload = ",payload) + localStatus, message = partner_client.Get_Partner_List_Partner_Client(payload) + return jsonify(status=localStatus, message=message) + +""" +API de recuperation d'un client donné d'un partner +""" +@app.route('/myclass/api/Get_Given_Partner_Client/', methods=['POST','GET']) +@crossdomain(origin='*') +def Get_Given_Partner_Client(): + # On recupere le corps (payload) de la requete + payload = mycommon.strip_dictionary (request.form.to_dict()) + print(" ### Get_Given_Partner_Client : payload = ",payload) + localStatus, message = partner_client.Get_Given_Partner_Client(payload) + return jsonify(status=localStatus, message=message) + + + + +""" +API qui permet de modifier un contact donnée (nested list) d'un client de partenai +""" +@app.route('/myclass/api/Update_Partner_Client_Contact/', methods=['POST','GET']) +@crossdomain(origin='*') +def Update_Partner_Client_Contact(): + # On recupere le corps (payload) de la requete + payload = mycommon.strip_dictionary (request.form.to_dict()) + print(" ### Update_Partner_Client_Contact : payload = ",payload) + localStatus, message = partner_client.Update_Partner_Client_Contact(payload) + return jsonify(status=localStatus, message=message) + + + if __name__ == '__main__': print(" debut api") diff --git a/partner_client.py b/partner_client.py index 3e0d4e7..2c2434d 100644 --- a/partner_client.py +++ b/partner_client.py @@ -35,7 +35,12 @@ def Add_Partner_Client(diction): Verification des input acceptés """ field_list = ['token', "raison_sociale", "nom", "siret", "tva", "email", - "telephone", "website", "comment", "address", "invoice_address", "list_contact", ] + "telephone", "website", "comment", "address", "invoice_address", "list_contact", + 'adr_adresse', 'adr_code_postal', 'adr_ville', 'adr_pays', + 'invoice_email', 'invoice_nom', 'invoice_siret', + 'invoice_tva', 'invoice_adresse', 'invoice_ville', + 'invoice_code_postal', 'invoice_pays' + ] incom_keys = diction.keys() for val in incom_keys: if val not in field_list: @@ -91,19 +96,18 @@ def Add_Partner_Client(diction): tmp_count = MYSY_GV.dbname['partner_client'].count_documents(qry) if (tmp_count > 0): mycommon.myprint( - str(inspect.stack()[0][ - 3]) + " - Il existe déjà un client qui porte le même nom = ", str(diction['nom'])) + str(inspect.stack()[0][3]) + " - Il existe déjà un client qui porte le même nom = "+str(diction['nom'])) - return False, " - Il existe déjà un client qui porte le même nom " + return False, " - Vous déjà un client qui porte le même nom " tmp_count = MYSY_GV.dbname['partner_client'].count_documents({'email': str(diction['email']), 'valide': '1', 'partner_recid': my_partner['recid']}) if (tmp_count > 0): mycommon.myprint( str(inspect.stack()[0][ - 3]) + " - Il existe déjà un client qui porte le même email principal = ", str(diction['email'])) + 3]) + " - Il existe déjà un client qui porte le même email principal = " +str(diction['email'])) - return False, " - Il existe déjà un client qui porte le même email principal " + return False, " - Vous avez déjà un client qui a le même email principal " @@ -131,6 +135,30 @@ def Add_Partner_Client(diction): siret = diction['siret'] data['siret'] = diction['siret'] + adr_adresse = "" + if ("adr_adresse" in diction.keys()): + if diction['adr_adresse']: + adr_adresse = diction['adr_adresse'] + data['adr_adresse'] = diction['adr_adresse'] + + adr_code_postal = "" + if ("adr_code_postal" in diction.keys()): + if diction['adr_code_postal']: + adr_code_postal = diction['adr_code_postal'] + data['adr_code_postal'] = diction['adr_code_postal'] + + adr_ville = "" + if ("adr_ville" in diction.keys()): + if diction['adr_ville']: + adr_ville = diction['adr_ville'] + data['adr_ville'] = diction['adr_ville'] + + adr_pays = "" + if ("adr_pays" in diction.keys()): + if diction['adr_pays']: + adr_pays = diction['siret'] + data['adr_pays'] = diction['adr_pays'] + tva = "" if ("tva" in diction.keys()): if diction['tva']: @@ -142,6 +170,20 @@ def Add_Partner_Client(diction): if diction['email']: email = diction['email'] data['email'] = diction['email'] + if( mycommon.isEmailValide(email) is False): + mycommon.myprint( + str(inspect.stack()[0][ + 3]) + " - L'adresse email "+str(email)+" n'est pas valide") + + return False, " - - L'adresse email "+str(email)+" n'est pas valide " + + + telephone = "" + if ("telephone" in diction.keys()): + if diction['telephone']: + telephone = diction['telephone'] + data['telephone'] = diction['telephone'] + website = "" if ("website" in diction.keys()): @@ -155,22 +197,84 @@ def Add_Partner_Client(diction): comment = diction['comment'] data['comment'] = diction['comment'] - address = {} + invoice_email = "" + if ("invoice_email" in diction.keys()): + if diction['invoice_email']: + email = diction['invoice_email'] + data['invoice_email'] = diction['invoice_email'] + if (mycommon.isEmailValide(invoice_email) is False): + mycommon.myprint( + str(inspect.stack()[0][ + 3]) + " - L'adresse email de facturation " + str(invoice_email) + " n'est pas valide") + + return False, " - L'adresse email de facturation " + str(invoice_email) + " n'est pas valide " + + invoice_nom = "" + if ("invoice_nom" in diction.keys()): + if diction['invoice_nom']: + invoice_nom = diction['invoice_nom'] + data['invoice_nom'] = diction['invoice_nom'] + + invoice_siret = "" + if ("invoice_siret" in diction.keys()): + if diction['invoice_siret']: + invoice_siret = diction['invoice_siret'] + data['invoice_siret'] = diction['invoice_siret'] + + invoice_tva = "" + if ("invoice_tva" in diction.keys()): + if diction['invoice_tva']: + invoice_tva = diction['invoice_tva'] + data['invoice_tva'] = diction['invoice_tva'] + + invoice_adresse = "" + if ("invoice_adresse" in diction.keys()): + if diction['invoice_adresse']: + invoice_adresse = diction['invoice_adresse'] + data['invoice_adresse'] = diction['invoice_adresse'] + + invoice_ville = "" + if ("invoice_ville" in diction.keys()): + if diction['invoice_ville']: + invoice_ville = diction['invoice_ville'] + data['invoice_ville'] = diction['invoice_ville'] + + invoice_code_postal = "" + if ("invoice_code_postal" in diction.keys()): + if diction['invoice_code_postal']: + invoice_code_postal = diction['invoice_code_postal'] + data['invoice_code_postal'] = diction['invoice_code_postal'] + + invoice_pays = "" + if ("invoice_pays" in diction.keys()): + if diction['invoice_pays']: + invoice_pays = diction['invoice_pays'] + data['invoice_pays'] = diction['invoice_pays'] + + list_adress = [] + line = 0 if ("address" in diction.keys()): if diction['address']: - address = ast.literal_eval(diction['address']) - data['address'] = ast.literal_eval(diction['address']) - """" - /!\ : l'adresse etant directement enregistrée sur le client, alors verification que le ligne "adresse" contient bien les champs : - - adresse, code postal, ville, pays - """ + list_adress = ast.literal_eval(diction['address']) + data['address'] = list_adress + for adress_val in list_adress : + print(" ### adress_val = ", adress_val) + address = adress_val + data['address'][line]['recid'] = mycommon.create_user_recid() + line = line + 1 + + """ + /!\ : l'adresse etant directement enregistrée sur le client, alors verification que le ligne "adresse" contient bien les champs : + - adresse, code postal, ville, pays + """ + + adresse_field_list_obligatoire = ['adresse', "code_postal", "ville", "pays", ] + for val in adresse_field_list_obligatoire: + if val not in address.keys(): + mycommon.myprint( + str(inspect.stack()[0][3]) + " - Le champ '" + val + "' est obligatoire dans l'adresse") + return False, " Le champ '" + val + "' est obligatoire dans l'adresse", - adresse_field_list_obligatoire = ['adresse', "code_postal", "ville", "pays", ] - for val in adresse_field_list_obligatoire: - if val not in address.keys(): - mycommon.myprint( - str(inspect.stack()[0][3]) + " - Le champ '" + val + "' est obligatoire dans l'adresse") - return False, " Le champ '" + val + "' est obligatoire dans l'adresse", invoice_address = {} @@ -220,8 +324,121 @@ def Add_Partner_Client(diction): mycommon.myprint(str(inspect.stack()[0][3]) + " -" + str(e) + " - Line : " + str(exc_tb.tb_lineno)) return False, " Impossible d'ajouter le client " + + """ -Mise à jour d'un client +Mise à jour contact d'un client de partner +""" +def Update_Partner_Client_Contact(diction): + try: + + diction = mycommon.strip_dictionary(diction) + + """ + Verification des input acceptés + """ + field_list = ['token', "partner_client_contact_recid", "adresse", "ville", "code_postal", "pays", "email", "telephone" ] + + """ + 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. " + + data_update = {} + + partner_client_contact_recid = "" + if ("partner_client_contact_recid" in diction.keys()): + partner_client_contact_recid = diction['partner_client_contact_recid'] + + adresse = "" + if ("adresse" in diction.keys()): + adresse = diction['adresse'] + data_update['partner_recid'] = my_partner['recid'] + data_update["address.$[elem].adresse"] = adresse + + ville = "" + if ("ville" in diction.keys()): + ville = diction['ville'] + data_update["address.$[elem].ville"] = ville + + code_postal = "" + if ("code_postal" in diction.keys()): + code_postal = diction['code_postal'] + data_update["address.$[elem].code_postal"] = code_postal + + pays = "" + if ("pays" in diction.keys()): + pays = diction['pays'] + data_update["address.$[elem].pays"] = pays + + email = "" + if ("email" in diction.keys()): + email = diction['email'] + data_update["address.$[elem].email"] = email + if (mycommon.isEmailValide(email) is False): + mycommon.myprint( + str(inspect.stack()[0][ + 3]) + " - L'adresse email " + str(email) + " n'est pas valide") + + return False, " -L'adresse email " + str(email) + " n'est pas valide " + + telephone = "" + if ("telephone" in diction.keys()): + telephone = diction['telephone'] + data_update["address.$[elem].telephone"] = telephone + + + print(" #### data_update = ", data_update) + print(" #### partner_recid = ", str(partner_recid)) + print(" #### elem.recid = ", str(partner_client_contact_recid)) + + result = MYSY_GV.dbname['partner_client'].update_one( + {'partner_recid':str(partner_recid)}, + { "$set": data_update}, + upsert=True, + array_filters=[{"elem.recid": str(partner_client_contact_recid) }], + ) + + + print("raw:", result.raw_result) + print("acknowledged:", result.acknowledged) + print("matched_count:", result.matched_count) + + + return True, " Le contact du client a été correctement mis à 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 d'ajouter le client " + +""" +Mise à jour d'un client. +La clé de mise à jour est : l'email et ou le nom + +Donc pas de modification possible du mail et du nom """ def Update_Partner_Client(diction): try: @@ -231,7 +448,11 @@ def Update_Partner_Client(diction): Verification des input acceptés """ field_list = ['token', "raison_sociale", "nom", "siret", "tva", "email", - "telephone", "website", "comment", "address", "invoice_address", "list_contact", ] + "telephone", "website", "comment", "address", "invoice_address", "list_contact", + 'adr_adresse', 'adr_code_postal', 'adr_ville', 'adr_pays', + 'invoice_email', 'invoice_nom', 'invoice_siret', + 'invoice_tva', 'invoice_adresse', 'invoice_ville', + 'invoice_code_postal', 'invoice_pays'] incom_keys = diction.keys() for val in incom_keys: @@ -283,16 +504,22 @@ def Update_Partner_Client(diction): nom, ou la meme adresse email """ - qry = {'nom': str(diction['nom']), 'email': str(diction['email']), - 'valide': '1', 'partner_recid': str(my_partner['recid'])} + qry_update = { "$or":[{'nom': str(diction['nom']), 'email': str(diction['email']), + 'valide': '1', 'partner_recid': str(my_partner['recid'])}, - tmp_count = MYSY_GV.dbname['partner_client'].count_documents(qry) + {'email': str(diction['email']), 'email': str(diction['email']), + 'valide': '1', 'partner_recid': str(my_partner['recid'])} + ]} + + + print(" ### qry_update = ", qry_update) + tmp_count = MYSY_GV.dbname['partner_client'].count_documents(qry_update) if (tmp_count <= 0): mycommon.myprint( str(inspect.stack()[0][ - 3]) + " - Ce client n'existe pas: nom = ", str(diction['nom'])) + 3]) + " - Ce client n'existe pas: nom = "+str(diction['nom'])) - return False, " - Ce client n'existe pas " + return False, " - Ce client n'existe pas, mise à jour impossible " @@ -313,22 +540,96 @@ def Update_Partner_Client(diction): nom = "" if ("nom" in diction.keys()): nom = diction['nom'] - data_update['nom'] = diction['nom'] + # data_update['nom'] = diction['nom'] - on ne modifie pas le nom siret = "" if ("siret" in diction.keys()): siret = diction['siret'] data_update['siret'] = diction['siret'] + adr_adresse = "" + if ("adr_adresse" in diction.keys()): + adr_adresse = diction['adr_adresse'] + data_update['adr_adresse'] = diction['adr_adresse'] + + adr_code_postal = "" + if ("adr_code_postal" in diction.keys()): + adr_code_postal = diction['adr_code_postal'] + data_update['adr_code_postal'] = diction['adr_code_postal'] + + adr_ville = "" + if ("adr_ville" in diction.keys()): + adr_ville = diction['adr_ville'] + data_update['adr_ville'] = diction['adr_ville'] + + adr_pays = "" + if ("adr_pays" in diction.keys()): + adr_pays = diction['adr_pays'] + data_update['adr_pays'] = diction['adr_pays'] + + + tva = "" if ("tva" in diction.keys()): tva = diction['tva'] data_update['tva'] = diction['tva'] + telephone = "" + if ("telephone" in diction.keys()): + telephone = diction['telephone'] + data_update['telephone'] = diction['telephone'] + email = "" if ("email" in diction.keys()): email = diction['email'] - data_update['email'] = diction['email'] + # data_update['email'] = diction['email'] - on ne modifie pas le mail + + invoice_email = "" + if ("invoice_email" in diction.keys()): + invoice_email = diction['invoice_email'] + data_update['invoice_email'] = diction['invoice_email'] + if (mycommon.isEmailValide(invoice_email) is False): + mycommon.myprint( + str(inspect.stack()[0][ + 3]) + " - L'adresse email de facturation " + str(invoice_email) + " n'est pas valide") + + return False, " - L'adresse email de facturation " + str(invoice_email) + " n'est pas valide " + + invoice_nom = "" + if ("invoice_nom" in diction.keys()): + invoice_nom = diction['invoice_nom'] + data_update['invoice_nom'] = diction['invoice_nom'] + + invoice_siret = "" + if ("invoice_siret" in diction.keys()): + invoice_siret = diction['invoice_siret'] + data_update['invoice_siret'] = diction['invoice_siret'] + + invoice_tva = "" + if ("invoice_tva" in diction.keys()): + invoice_tva = diction['invoice_tva'] + data_update['invoice_tva'] = diction['invoice_tva'] + + invoice_adresse = "" + if ("invoice_adresse" in diction.keys()): + invoice_adresse = diction['invoice_adresse'] + data_update['invoice_adresse'] = diction['invoice_adresse'] + + invoice_ville = "" + if ("invoice_ville" in diction.keys()): + invoice_ville = diction['invoice_ville'] + data_update['invoice_ville'] = diction['invoice_ville'] + + invoice_code_postal = "" + if ("invoice_code_postal" in diction.keys()): + invoice_code_postal = diction['invoice_code_postal'] + data_update['invoice_code_postal'] = diction['invoice_code_postal'] + + invoice_pays = "" + if ("invoice_pays" in diction.keys()): + invoice_pays = diction['invoice_pays'] + data_update['invoice_pays'] = diction['invoice_pays'] + website = "" if ("website" in diction.keys()): @@ -383,6 +684,27 @@ def Update_Partner_Client(diction): data_update['locked'] = '0' data_update['date_update'] = str(datetime.now()) + """ + Clés de mise à jour + """ + data_cle = {} + data_cle['partner_recid'] = str(my_partner['recid']) + data_cle['email'] = str(diction['email']) + data_cle['nom'] = str(diction['nom']) + data_cle['valide'] = "1" + data_cle['locked'] = "0" + + inserted_id = "" + result = MYSY_GV.dbname['partner_client'].find_one_and_update( + data_cle, + {"$set": data_update}, + upsert=False, + return_document=ReturnDocument.AFTER + ) + if ("_id" not in result.keys()): + mycommon.myprint( + " Impossible de mettre à jour le client : email = " + str(diction['email'])) + return False, " Impossible de mettre à jour le client " return True, " Le client a été correctement mise à jour" @@ -398,22 +720,149 @@ Recuperation d'une liste de client d'un partenaire def Get_Partner_List_Partner_Client(diction): try: + diction = mycommon.strip_dictionary(diction) + + """ + Verification des input acceptés + """ + field_list = ['token',] + + 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_partner = mycommon.get_partner_data_from_token(token) + if (local_status is False): + mycommon.myprint(str(inspect.stack()[0][3]) + " - impossible de recuperer les données de l'utilisateur ") + return False, str(inspect.stack()[0][3]) + " - impossible de recuperer les données de l'utilisateur. " + + """ + Clés de mise à jour + """ + data_cle = {} + data_cle['partner_recid'] = str(my_partner['recid']) + data_cle['valide'] = "1" + data_cle['locked'] = "0" + + RetObject = [] + val_tmp = 1 + + for retval in MYSY_GV.dbname['partner_client'].find(data_cle): + user = retval + user['id'] = str(val_tmp) + val_tmp = val_tmp + 1 + RetObject.append(mycommon.JSONEncoder().encode(user)) + + return True, RetObject - return True, " Le client a été correctement mise à jour" except Exception as e: exc_type, exc_obj, exc_tb = sys.exc_info() mycommon.myprint(str(inspect.stack()[0][3]) + " -" + str(e) + " - Line : " + str(exc_tb.tb_lineno)) - return False, " Impossible de mettre à jour le client " + return False, " Impossible de recuperer la liste des clients " """ Recuperation d'un client donnée """ -def Get_Given_Partner_List_Client(diction): +def Get_Given_Partner_Client(diction): try: + diction = mycommon.strip_dictionary(diction) + + """ + Verification des input acceptés + """ + field_list = ['token', 'email'] + + 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','email' ] + for val in field_list_obligatoire: + if val not in diction: + mycommon.myprint( + str(inspect.stack()[0][3]) + " - La valeur '" + val + "' n'est pas presente dans liste ") + return False, " Les informations fournies sont incorrectes", + + """ + Verification de l'identité et autorisation de l'entité qui + appelle cette API + """ + token = "" + if ("token" in diction.keys()): + if diction['token']: + token = diction['token'] + + # Verifier la validité du token + retval = mycommon.check_partner_token_validity("", token) + + if retval is False: + return "Err_Connexion", " La session de connexion n'est pas valide" + + # Recuperation des données du partenaire + local_status, my_partner = mycommon.get_partner_data_from_token(token) + if (local_status is False): + mycommon.myprint(str(inspect.stack()[0][3]) + " - impossible de recuperer les données de l'utilisateur ") + return False, str(inspect.stack()[0][3]) + " - impossible de recuperer les données de l'utilisateur. " + + """ + Clés de mise à jour + """ + data_cle = {} + data_cle['partner_recid'] = str(my_partner['recid']) + data_cle['email'] = str(diction['email']) + data_cle['valide'] = "1" + data_cle['locked'] = "0" + + RetObject = [] + val_tmp = 1 + + print(" ### data_cle = ", data_cle) + for retval in MYSY_GV.dbname['partner_client'].find(data_cle): + user = retval + user['id'] = str(val_tmp) + val_tmp = val_tmp + 1 + RetObject.append(mycommon.JSONEncoder().encode(user)) + + print(" ### RetObject = ", RetObject) + return True, RetObject - return True, " Le client a été correctement mise à jour" except Exception as e: exc_type, exc_obj, exc_tb = sys.exc_info() diff --git a/prj_common.py b/prj_common.py index e8010f9..e9bada4 100644 --- a/prj_common.py +++ b/prj_common.py @@ -999,7 +999,7 @@ def CronUSerMessage_Mail(): if (re.match(patter_mail, str(mail_recever))): if( len(mail_object) == 0 or len(message) == 0 ): - myprint(" WARNING : Impossible d'enboyer le mail au destinataire. l'objet ou le message sont vides : mail_object = " + myprint(" WARNING : Impossible d'envoyer le mail au destinataire. l'objet ou le message sont vides : mail_object = " + str(mail_object)+ " ou message = "+str(message)) ismail_traited = 'error' error_message = "l'objet ou le message sont vides" @@ -1526,9 +1526,6 @@ def recordImage(file=None, Folder=None, diction=None): if user_recid is False: myprint(str(inspect.stack()[0][3]) + " - Impossible de recuperer le recid du partner") return False, " Les informations d'identification sont incorrectes" - - - myuserrecid = user_recid @@ -3086,4 +3083,21 @@ def strip_dictionary(d): """ Strip all leading and trailing whitespace in dictionary keys and values. """ - return dict((k.strip(), v.strip()) for k, v in d.items()) \ No newline at end of file + return dict((k.strip(), v.strip()) for k, v in d.items()) + + +""" +Cette fonction verifie si une chaine de caractère est un email valide +""" +def isEmailValide(email): + try: + pat = "^[a-zA-Z0-9-_]+@[a-zA-Z0-9]+\.[a-z]{1,3}$" + if re.match(pat, email): + return True + + return False + + except Exception as e: + exc_type, exc_obj, exc_tb = sys.exc_info() + myprint(str(inspect.stack()[0][3]) + " -" + str(e) + " - ERRORRRR AT Line : " + str(exc_tb.tb_lineno)) + return False \ No newline at end of file