From 6ea0aa617e74220f29de517e7f616ccc588c3bea Mon Sep 17 00:00:00 2001 From: cherif Date: Sat, 29 Apr 2023 20:22:21 +0200 Subject: [PATCH] 29/04/23 - 21h --- .idea/workspace.xml | 17 +- Log/log_file.log | 622 ++++++++++++++++++++++++++++++++++++++++ lms_chamilo/mysy_lms.py | 17 ++ 3 files changed, 651 insertions(+), 5 deletions(-) diff --git a/.idea/workspace.xml b/.idea/workspace.xml index ddc08ab..63eff87 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -1,11 +1,10 @@ - + - - + @@ -187,6 +193,7 @@ - \ No newline at end of file diff --git a/Log/log_file.log b/Log/log_file.log index d27cfaa..77425f6 100644 --- a/Log/log_file.log +++ b/Log/log_file.log @@ -1574648,3 +1574648,625 @@ DEBUG:paramiko.transport:EOF in transport thread INFO:werkzeug:127.0.0.1 - - [28/Apr/2023 19:16:42] "POST /myclass/api/Lms_Add_Logo_File/ HTTP/1.1" 200 - INFO:root:2023-04-28 19:46:04.733389 : Security check : IP adresse '127.0.0.1' connected INFO:werkzeug:127.0.0.1 - - [28/Apr/2023 19:46:04] "POST /myclass/api/Get_Lms_Themes/ HTTP/1.1" 200 - +INFO:root:2023-04-29 08:42:34.722659 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-04-29 08:42:34.723760 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-04-29 08:42:34.723760 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-04-29 08:42:34.723760 : ++ FLASK PORT 5001 ++ +INFO:root:2023-04-29 08:42:34.723760 : ++ LMS_BAS_URL mysy-training.fr/ ++ +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-04-29 08:42:46.954840 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-04-29 08:42:46.954840 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-04-29 08:42:46.954840 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-04-29 08:42:46.954840 : ++ FLASK PORT 5001 ++ +INFO:root:2023-04-29 08:42:46.954840 : ++ LMS_BAS_URL mysy-training.fr/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 229-221-900 +INFO:root:2023-04-29 08:42:47.048599 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-29 08:42:47.854811 : partner_login Connexion partnair mysylaplumedepierrot@gmail.com : OK, Date : 2023-04-29 08:42:47.051623 , _id = 63e8f2745d4b4085b83f3aec +INFO:root:2023-04-29 08:42:47.859953 : partner_login Connexion partener_token : OK , _id = 63e8f2c17b7f1fbbc5ee9419 +INFO:werkzeug:127.0.0.1 - - [29/Apr/2023 08:42:47] "POST /myclass/api/partner_login/ HTTP/1.1" 200 - +INFO:root:2023-04-29 08:42:48.112962 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-29 08:42:48.118612 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-29 08:42:48.123224 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [29/Apr/2023 08:42:48] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-04-29 08:42:48.131162 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-29 08:42:48.144325 : Connexion du partner recid = 62f24843a09cde3b34017eb343c5955ac56df5ea04635be1ca OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [29/Apr/2023 08:42:48] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [29/Apr/2023 08:42:48] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [29/Apr/2023 08:42:48] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-04-29 08:42:48.587939 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [29/Apr/2023 08:42:48] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 - +INFO:root:2023-04-29 09:13:33.103174 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-29 09:13:33.153556 : Get_Lms_Themes Aucun theme LMS trouvé +INFO:werkzeug:127.0.0.1 - - [29/Apr/2023 09:13:33] "POST /myclass/api/Get_Lms_Themes/ HTTP/1.1" 200 - +INFO:root:2023-04-29 09:13:44.771449 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-29 09:13:44.776778 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-29 09:13:44.780100 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [29/Apr/2023 09:13:44] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-04-29 09:13:44.790273 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-29 09:13:44.797219 : Connexion du partner recid = 62f24843a09cde3b34017eb343c5955ac56df5ea04635be1ca OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [29/Apr/2023 09:13:44] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [29/Apr/2023 09:13:44] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [29/Apr/2023 09:13:44] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:root:2023-04-29 09:13:45.750456 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [29/Apr/2023 09:13:45] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 - +INFO:root:2023-04-29 09:13:47.611937 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-29 09:13:47.621870 : Get_Lms_Themes Aucun theme LMS trouvé +INFO:werkzeug:127.0.0.1 - - [29/Apr/2023 09:13:47] "POST /myclass/api/Get_Lms_Themes/ HTTP/1.1" 200 - +INFO:root:2023-04-29 09:18:02.693652 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-29 09:18:02.698995 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-29 09:18:02.703240 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [29/Apr/2023 09:18:02] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-04-29 09:18:02.711797 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-29 09:18:02.718828 : Connexion du partner recid = 62f24843a09cde3b34017eb343c5955ac56df5ea04635be1ca OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [29/Apr/2023 09:18:02] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [29/Apr/2023 09:18:02] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [29/Apr/2023 09:18:02] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:root:2023-04-29 09:18:03.606953 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [29/Apr/2023 09:18:03] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 - +INFO:root:2023-04-29 09:18:11.024924 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [29/Apr/2023 09:18:11] "POST /myclass/api/Get_Lms_Themes/ HTTP/1.1" 200 - +INFO:root:2023-04-29 09:18:21.903246 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [29/Apr/2023 09:18:21] "POST /myclass/api/Get_Lms_Themes/ HTTP/1.1" 200 - +INFO:root:2023-04-29 09:18:31.458687 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [29/Apr/2023 09:18:31] "POST /myclass/api/Get_Lms_Themes/ HTTP/1.1" 200 - +INFO:root:2023-04-29 09:18:35.089960 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [29/Apr/2023 09:18:35] "POST /myclass/api/Get_Lms_Themes/ HTTP/1.1" 200 - +INFO:root:2023-04-29 09:18:44.172155 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [29/Apr/2023 09:18:44] "POST /myclass/api/Get_Lms_Themes/ HTTP/1.1" 200 - +INFO:root:2023-04-29 09:18:48.347012 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [29/Apr/2023 09:18:48] "POST /myclass/api/Get_Lms_Themes/ HTTP/1.1" 200 - +INFO:root:2023-04-29 09:19:01.325439 : Security check : IP adresse '127.0.0.1' connected +DEBUG:paramiko.transport:starting thread (client mode): 0x862ae200 +DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_3.1.0 +DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-OpenSSH_8.4p1 Debian-5+deb11u1 +INFO:paramiko.transport:Connected (version 2.0, client OpenSSH_8.4p1) +DEBUG:paramiko.transport:=== Key exchange possibilities === +DEBUG:paramiko.transport:kex algos: curve25519-sha256, curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group-exchange-sha256, diffie-hellman-group16-sha512, diffie-hellman-group18-sha512, diffie-hellman-group14-sha256 +DEBUG:paramiko.transport:server key: rsa-sha2-512, rsa-sha2-256, ssh-rsa, ecdsa-sha2-nistp256, ssh-ed25519 +DEBUG:paramiko.transport:client encrypt: chacha20-poly1305@openssh.com, aes128-ctr, aes192-ctr, aes256-ctr, aes128-gcm@openssh.com, aes256-gcm@openssh.com +DEBUG:paramiko.transport:server encrypt: chacha20-poly1305@openssh.com, aes128-ctr, aes192-ctr, aes256-ctr, aes128-gcm@openssh.com, aes256-gcm@openssh.com +DEBUG:paramiko.transport:client mac: umac-64-etm@openssh.com, umac-128-etm@openssh.com, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1-etm@openssh.com, umac-64@openssh.com, umac-128@openssh.com, hmac-sha2-256, hmac-sha2-512, hmac-sha1 +DEBUG:paramiko.transport:server mac: umac-64-etm@openssh.com, umac-128-etm@openssh.com, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1-etm@openssh.com, umac-64@openssh.com, umac-128@openssh.com, hmac-sha2-256, hmac-sha2-512, hmac-sha1 +DEBUG:paramiko.transport:client compress: none, zlib@openssh.com +DEBUG:paramiko.transport:server compress: none, zlib@openssh.com +DEBUG:paramiko.transport:client lang: +DEBUG:paramiko.transport:server lang: +DEBUG:paramiko.transport:kex follows: False +DEBUG:paramiko.transport:=== Key exchange agreements === +DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org +DEBUG:paramiko.transport:HostKey: ssh-ed25519 +DEBUG:paramiko.transport:Cipher: aes128-ctr +DEBUG:paramiko.transport:MAC: hmac-sha2-256 +DEBUG:paramiko.transport:Compression: none +DEBUG:paramiko.transport:=== End of kex handshake === +DEBUG:paramiko.transport:kex engine KexCurve25519 specified hash_algo +DEBUG:paramiko.transport:Switch to new keys ... +DEBUG:paramiko.transport:Adding ssh-ed25519 host key for 88.170.110.220: b'e44b0a61fb86892f0b6973a38e33cec5' +DEBUG:paramiko.transport:Got EXT_INFO: {'server-sig-algs': b'ssh-ed25519,sk-ssh-ed25519@openssh.com,ssh-rsa,rsa-sha2-256,rsa-sha2-512,ssh-dss,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,sk-ecdsa-sha2-nistp256@openssh.com,webauthn-sk-ecdsa-sha2-nistp256@openssh.com'} +DEBUG:paramiko.transport:userauth is OK +INFO:paramiko.transport:Authentication (password) successful! +DEBUG:paramiko.transport:[chan 0] Max packet in: 32768 bytes +DEBUG:paramiko.transport:Received global request "hostkeys-00@openssh.com" +DEBUG:paramiko.transport:Rejecting "hostkeys-00@openssh.com" global request from server. +DEBUG:paramiko.transport:[chan 0] Max packet out: 32768 bytes +DEBUG:paramiko.transport:Secsh channel 0 opened. +DEBUG:paramiko.transport:[chan 0] Sesch channel 0 request ok +DEBUG:paramiko.transport:[chan 0] EOF received (0) +DEBUG:paramiko.transport:[chan 0] EOF sent (0) +DEBUG:paramiko.transport:[chan 1] Max packet in: 32768 bytes +DEBUG:paramiko.transport:[chan 1] Max packet out: 32768 bytes +DEBUG:paramiko.transport:Secsh channel 1 opened. +DEBUG:paramiko.transport:[chan 1] Sesch channel 1 request ok +DEBUG:paramiko.transport:[chan 1] EOF received (1) +DEBUG:paramiko.transport:[chan 1] EOF sent (1) +DEBUG:paramiko.transport:[chan 2] Max packet in: 32768 bytes +DEBUG:paramiko.transport:[chan 2] Max packet out: 32768 bytes +DEBUG:paramiko.transport:Secsh channel 2 opened. +DEBUG:paramiko.transport:[chan 2] Sesch channel 2 request ok +DEBUG:paramiko.transport:[chan 2] EOF received (2) +DEBUG:paramiko.transport:[chan 3] Max packet in: 32768 bytes +DEBUG:paramiko.transport:[chan 2] EOF sent (2) +DEBUG:paramiko.transport:[chan 3] Max packet out: 32768 bytes +DEBUG:paramiko.transport:Secsh channel 3 opened. +DEBUG:paramiko.transport:[chan 3] Sesch channel 3 request ok +DEBUG:paramiko.transport:[chan 3] EOF received (3) +DEBUG:paramiko.transport:[chan 3] EOF sent (3) +DEBUG:paramiko.transport:Dropping user packet because connection is dead. +INFO:werkzeug:127.0.0.1 - - [29/Apr/2023 09:19:06] "POST /myclass/api/Lms_Config_Theme_and_Logo/ HTTP/1.1" 200 - +INFO:root:2023-04-29 09:21:37.625644 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [29/Apr/2023 09:21:37] "POST /myclass/api/Get_Lms_Themes/ HTTP/1.1" 200 - +INFO:root:2023-04-29 19:12:03.430000 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-04-29 19:12:03.431235 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-04-29 19:12:03.432260 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-04-29 19:12:03.432260 : ++ FLASK PORT 5001 ++ +INFO:root:2023-04-29 19:12:03.432260 : ++ LMS_BAS_URL mysy-training.fr/ ++ +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-04-29 19:12:23.231630 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-04-29 19:12:23.232634 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-04-29 19:12:23.232634 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-04-29 19:12:23.232634 : ++ FLASK PORT 5001 ++ +INFO:root:2023-04-29 19:12:23.232634 : ++ LMS_BAS_URL mysy-training.fr/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 229-221-900 +INFO:root:2023-04-29 19:12:31.221836 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-29 19:12:31.223839 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-29 19:12:31.225839 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [29/Apr/2023 19:12:31] "POST /myclass/api/get_List_domaine_formation/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [29/Apr/2023 19:12:31] "POST /myclass/api/Get_Suggested_Fr_Cities/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [29/Apr/2023 19:12:31] "POST /myclass/api/Get_Suggested_Word/ HTTP/1.1" 200 - +INFO:root:2023-04-29 19:12:31.946040 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-29 19:12:31.948047 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [29/Apr/2023 19:12:32] "POST /myclass/api/get_all_class/ HTTP/1.1" 200 - +INFO:root:2023-04-29 19:12:33.089661 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-29 19:12:33.094666 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [29/Apr/2023 19:12:33] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:root:2023-04-29 19:12:33.101663 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [29/Apr/2023 19:12:33] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2023-04-29 19:12:33.105663 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-29 19:12:33.112185 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [29/Apr/2023 19:12:33] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:root:2023-04-29 19:12:33.116641 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [29/Apr/2023 19:12:33] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [29/Apr/2023 19:12:33] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2023-04-29 19:12:33.124394 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [29/Apr/2023 19:12:33] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2023-04-29 19:12:33.129973 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-29 19:12:33.133997 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-29 19:12:33.138001 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [29/Apr/2023 19:12:33] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [29/Apr/2023 19:12:33] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2023-04-29 19:12:33.144535 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [29/Apr/2023 19:12:33] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:root:2023-04-29 19:12:33.148008 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [29/Apr/2023 19:12:33] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [29/Apr/2023 19:12:33] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2023-04-29 19:12:33.156150 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-29 19:12:33.159143 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [29/Apr/2023 19:12:33] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2023-04-29 19:12:33.164150 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-29 19:12:33.169231 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [29/Apr/2023 19:12:33] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [29/Apr/2023 19:12:33] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [29/Apr/2023 19:12:33] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [29/Apr/2023 19:12:33] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2023-04-29 19:12:33.181062 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [29/Apr/2023 19:12:33] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:root:2023-04-29 19:12:33.187653 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-29 19:12:33.191674 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-29 19:12:33.196835 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [29/Apr/2023 19:12:33] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [29/Apr/2023 19:12:33] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [29/Apr/2023 19:12:33] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2023-04-29 19:13:35.192181 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-29 19:13:36.804721 : partner_login Connexion partnair mysylaplumedepierrot@gmail.com : OK, Date : 2023-04-29 19:13:35.195279 , _id = 63e8f2745d4b4085b83f3aec +INFO:root:2023-04-29 19:13:36.809705 : partner_login Connexion partener_token : OK , _id = 63e8f2c17b7f1fbbc5ee9419 +INFO:werkzeug:127.0.0.1 - - [29/Apr/2023 19:13:36] "POST /myclass/api/partner_login/ HTTP/1.1" 200 - +INFO:root:2023-04-29 19:13:37.136306 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-29 19:13:37.141298 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-29 19:13:37.147051 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [29/Apr/2023 19:13:37] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-04-29 19:13:37.152907 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-29 19:13:37.159946 : Connexion du partner recid = 62f24843a09cde3b34017eb343c5955ac56df5ea04635be1ca OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [29/Apr/2023 19:13:37] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [29/Apr/2023 19:13:37] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [29/Apr/2023 19:13:37] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-04-29 19:13:37.779712 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [29/Apr/2023 19:13:37] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 - +INFO:root:2023-04-29 19:13:44.985340 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-29 19:13:44.995553 : Connexion du partner recid = 62f24843a09cde3b34017eb343c5955ac56df5ea04635be1ca OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [29/Apr/2023 19:13:44] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:root:2023-04-29 19:13:48.709997 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-29 19:13:48.716186 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-29 19:13:48.724381 : Connexion du partner recid = 62f24843a09cde3b34017eb343c5955ac56df5ea04635be1ca OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [29/Apr/2023 19:13:48] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_NLMwePQlYvgJeA/payment_methods?type=card +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/customers/cus_NLMwePQlYvgJeA/payment_methods?type=card response_code=200 +DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MagEkAbmaEugrFT5drJGGgS",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "la plume de pierrot",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "IE",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "HS92xLRWsDeuSLhN",\n "funding": "credit",\n "generated_from": null,\n "last4": "3220",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1676210942,\n "customer": "cus_NLMwePQlYvgJeA",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NLMwePQlYvgJeA/payment_methods"\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_Mhh7Qbzx9kMSr8 message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [29/Apr/2023 19:13:50] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-04-29 19:18:36.633272 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-29 19:18:36.637529 : Security check : IP adresse '127.0.0.1' connected +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_NLMwePQlYvgJeA/payment_methods?type=card +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card +INFO:root:2023-04-29 19:18:36.645384 : Connexion du partner recid = 62f24843a09cde3b34017eb343c5955ac56df5ea04635be1ca OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [29/Apr/2023 19:18:36] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/customers/cus_NLMwePQlYvgJeA/payment_methods?type=card response_code=200 +DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MagEkAbmaEugrFT5drJGGgS",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "la plume de pierrot",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "IE",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "HS92xLRWsDeuSLhN",\n "funding": "credit",\n "generated_from": null,\n "last4": "3220",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1676210942,\n "customer": "cus_NLMwePQlYvgJeA",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NLMwePQlYvgJeA/payment_methods"\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_1hibQeAOJfBc9K message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [29/Apr/2023 19:18:37] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-04-29 19:20:28.344991 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-29 19:20:28.352525 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-29 19:20:28.359860 : Connexion du partner recid = 62f24843a09cde3b34017eb343c5955ac56df5ea04635be1ca OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [29/Apr/2023 19:20:28] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_NLMwePQlYvgJeA/payment_methods?type=card +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/customers/cus_NLMwePQlYvgJeA/payment_methods?type=card response_code=200 +DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MagEkAbmaEugrFT5drJGGgS",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "la plume de pierrot",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "IE",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "HS92xLRWsDeuSLhN",\n "funding": "credit",\n "generated_from": null,\n "last4": "3220",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1676210942,\n "customer": "cus_NLMwePQlYvgJeA",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NLMwePQlYvgJeA/payment_methods"\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_9Wf1j132VZO8vQ message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [29/Apr/2023 19:20:29] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-04-29 19:21:30.455518 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-29 19:21:30.460546 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [29/Apr/2023 19:21:30] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-04-29 19:21:30.467189 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-29 19:21:30.471424 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-29 19:21:30.477457 : Connexion du partner recid = 62f24843a09cde3b34017eb343c5955ac56df5ea04635be1ca OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [29/Apr/2023 19:21:30] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [29/Apr/2023 19:21:30] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [29/Apr/2023 19:21:30] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-04-29 19:21:32.331376 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [29/Apr/2023 19:21:32] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 - +INFO:root:2023-04-29 19:21:38.214717 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-29 19:21:38.219713 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-29 19:21:38.229718 : Connexion du partner recid = 62f24843a09cde3b34017eb343c5955ac56df5ea04635be1ca OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [29/Apr/2023 19:21:38] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_NLMwePQlYvgJeA/payment_methods?type=card +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/customers/cus_NLMwePQlYvgJeA/payment_methods?type=card response_code=200 +DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MagEkAbmaEugrFT5drJGGgS",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "la plume de pierrot",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "IE",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "HS92xLRWsDeuSLhN",\n "funding": "credit",\n "generated_from": null,\n "last4": "3220",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1676210942,\n "customer": "cus_NLMwePQlYvgJeA",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NLMwePQlYvgJeA/payment_methods"\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_86sIPnzUPgCX1r message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [29/Apr/2023 19:21:39] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-04-29 19:22:46.866888 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-29 19:22:46.870908 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-29 19:22:46.877023 : Connexion du partner recid = 62f24843a09cde3b34017eb343c5955ac56df5ea04635be1ca OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [29/Apr/2023 19:22:46] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_NLMwePQlYvgJeA/payment_methods?type=card +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/customers/cus_NLMwePQlYvgJeA/payment_methods?type=card response_code=200 +DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MagEkAbmaEugrFT5drJGGgS",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "la plume de pierrot",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "IE",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "HS92xLRWsDeuSLhN",\n "funding": "credit",\n "generated_from": null,\n "last4": "3220",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1676210942,\n "customer": "cus_NLMwePQlYvgJeA",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NLMwePQlYvgJeA/payment_methods"\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_MZphhgVVghgdcj message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [29/Apr/2023 19:22:47] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-04-29 19:23:11.563089 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-29 19:23:11.568791 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-29 19:23:11.582717 : Connexion du partner recid = 62f24843a09cde3b34017eb343c5955ac56df5ea04635be1ca OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [29/Apr/2023 19:23:11] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_NLMwePQlYvgJeA/payment_methods?type=card +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/customers/cus_NLMwePQlYvgJeA/payment_methods?type=card response_code=200 +DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MagEkAbmaEugrFT5drJGGgS",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "la plume de pierrot",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "IE",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "HS92xLRWsDeuSLhN",\n "funding": "credit",\n "generated_from": null,\n "last4": "3220",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1676210942,\n "customer": "cus_NLMwePQlYvgJeA",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NLMwePQlYvgJeA/payment_methods"\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_cAJ7qCoWPhxWRD message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [29/Apr/2023 19:23:12] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-04-29 19:23:23.232771 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-29 19:23:23.258210 : update_partner_accountLe partenaire a bien ete mise à jour =63e8f2745d4b4085b83f3aec +INFO:werkzeug:127.0.0.1 - - [29/Apr/2023 19:23:23] "POST /myclass/api/update_partner_account/ HTTP/1.1" 200 - +INFO:root:2023-04-29 19:23:38.907287 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-29 19:23:38.915317 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-29 19:23:38.921308 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [29/Apr/2023 19:23:38] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-04-29 19:23:38.927829 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-29 19:23:38.930156 : Connexion du partner recid = 62f24843a09cde3b34017eb343c5955ac56df5ea04635be1ca OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [29/Apr/2023 19:23:38] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [29/Apr/2023 19:23:38] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [29/Apr/2023 19:23:38] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-04-29 19:23:39.834372 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [29/Apr/2023 19:23:39] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 - +INFO:root:2023-04-29 19:23:41.984580 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-29 19:23:41.989865 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-29 19:23:41.996340 : Connexion du partner recid = 62f24843a09cde3b34017eb343c5955ac56df5ea04635be1ca OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [29/Apr/2023 19:23:41] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_NLMwePQlYvgJeA/payment_methods?type=card +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/customers/cus_NLMwePQlYvgJeA/payment_methods?type=card response_code=200 +DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MagEkAbmaEugrFT5drJGGgS",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "la plume de pierrot",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "IE",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "HS92xLRWsDeuSLhN",\n "funding": "credit",\n "generated_from": null,\n "last4": "3220",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1676210942,\n "customer": "cus_NLMwePQlYvgJeA",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NLMwePQlYvgJeA/payment_methods"\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_zKpz3xjjtnRrYC message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [29/Apr/2023 19:23:43] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-04-29 19:27:59.729652 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-29 19:27:59.741284 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-29 19:27:59.746827 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [29/Apr/2023 19:27:59] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-04-29 19:27:59.752925 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-29 19:27:59.757882 : Connexion du partner recid = 62f24843a09cde3b34017eb343c5955ac56df5ea04635be1ca OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [29/Apr/2023 19:27:59] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [29/Apr/2023 19:27:59] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [29/Apr/2023 19:27:59] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-04-29 19:28:01.653531 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [29/Apr/2023 19:28:01] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 - +INFO:root:2023-04-29 19:28:02.444497 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-29 19:28:02.450174 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-29 19:28:02.457051 : Connexion du partner recid = 62f24843a09cde3b34017eb343c5955ac56df5ea04635be1ca OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [29/Apr/2023 19:28:02] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_NLMwePQlYvgJeA/payment_methods?type=card +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/customers/cus_NLMwePQlYvgJeA/payment_methods?type=card response_code=200 +DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MagEkAbmaEugrFT5drJGGgS",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "la plume de pierrot",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "IE",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "HS92xLRWsDeuSLhN",\n "funding": "credit",\n "generated_from": null,\n "last4": "3220",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1676210942,\n "customer": "cus_NLMwePQlYvgJeA",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NLMwePQlYvgJeA/payment_methods"\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_wvYXBqtgHUC4Ay message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [29/Apr/2023 19:28:02] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-04-29 19:29:41.878695 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-29 19:29:41.884687 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-29 19:29:41.888687 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [29/Apr/2023 19:29:41] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-04-29 19:29:41.903868 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-29 19:29:41.915867 : Connexion du partner recid = 62f24843a09cde3b34017eb343c5955ac56df5ea04635be1ca OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [29/Apr/2023 19:29:41] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [29/Apr/2023 19:29:41] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [29/Apr/2023 19:29:41] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-04-29 19:29:43.703272 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [29/Apr/2023 19:29:43] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 - +INFO:root:2023-04-29 19:29:45.197315 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-29 19:29:45.202475 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-29 19:29:45.208472 : Connexion du partner recid = 62f24843a09cde3b34017eb343c5955ac56df5ea04635be1ca OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [29/Apr/2023 19:29:45] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_NLMwePQlYvgJeA/payment_methods?type=card +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/customers/cus_NLMwePQlYvgJeA/payment_methods?type=card response_code=200 +DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MagEkAbmaEugrFT5drJGGgS",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "la plume de pierrot",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "IE",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "HS92xLRWsDeuSLhN",\n "funding": "credit",\n "generated_from": null,\n "last4": "3220",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1676210942,\n "customer": "cus_NLMwePQlYvgJeA",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NLMwePQlYvgJeA/payment_methods"\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_sTbeKp9cex9hyn message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [29/Apr/2023 19:29:47] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-04-29 19:36:46.191842 : Security check : IP adresse '127.0.0.1' connected +INFO:stripe:message='Request to Stripe api' method=post path=https://api.stripe.com/v1/payment_methods/pm_1MagEkAbmaEugrFT5drJGGgS/detach +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data= +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/payment_methods/pm_1MagEkAbmaEugrFT5drJGGgS/detach response_code=200 +DEBUG:stripe:body='{\n "id": "pm_1MagEkAbmaEugrFT5drJGGgS",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "la plume de pierrot",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "IE",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "HS92xLRWsDeuSLhN",\n "funding": "credit",\n "generated_from": null,\n "last4": "3220",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1676210942,\n "customer": null,\n "livemode": false,\n "metadata": {},\n "type": "card"\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_qECmAORvBYOdb9 message='Dashboard link for request' +INFO:stripe:message='Request to Stripe api' method=post path=https://api.stripe.com/v1/payment_methods +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card&card[number]=4242424242424242&card[exp_month]=11&card[exp_year]=23&card[cvc]=123&billing_details[name]=sdsqdsdqs +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/payment_methods response_code=200 +DEBUG:stripe:body='{\n "id": "pm_1N2HhVAbmaEugrFTTA9CSKUr",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "sdsqdsdqs",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "unchecked"\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1682789809,\n "customer": null,\n "livemode": false,\n "metadata": {},\n "type": "card"\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_lMuCPomDF90woQ message='Dashboard link for request' +INFO:stripe:message='Request to Stripe api' method=post path=https://api.stripe.com/v1/payment_methods/pm_1N2HhVAbmaEugrFTTA9CSKUr/attach +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=customer=cus_NLMwePQlYvgJeA +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/payment_methods/pm_1N2HhVAbmaEugrFTTA9CSKUr/attach response_code=200 +DEBUG:stripe:body='{\n "id": "pm_1N2HhVAbmaEugrFTTA9CSKUr",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "sdsqdsdqs",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1682789809,\n "customer": "cus_NLMwePQlYvgJeA",\n "livemode": false,\n "metadata": {},\n "type": "card"\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_uEeSi5dUuZHpDn message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [29/Apr/2023 19:36:49] "POST /myclass/api/add_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-04-29 19:36:52.015000 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-29 19:36:52.021987 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [29/Apr/2023 19:36:52] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-04-29 19:36:52.028973 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-29 19:36:52.044662 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-29 19:36:52.050689 : Connexion du partner recid = 62f24843a09cde3b34017eb343c5955ac56df5ea04635be1ca OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [29/Apr/2023 19:36:52] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [29/Apr/2023 19:36:52] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [29/Apr/2023 19:36:52] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-04-29 19:36:53.033638 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [29/Apr/2023 19:36:53] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 - +INFO:root:2023-04-29 19:36:56.394385 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [29/Apr/2023 19:36:56] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-04-29 19:36:58.860318 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-29 19:36:58.865711 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-29 19:36:58.872352 : Connexion du partner recid = 62f24843a09cde3b34017eb343c5955ac56df5ea04635be1ca OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [29/Apr/2023 19:36:58] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_NLMwePQlYvgJeA/payment_methods?type=card +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/customers/cus_NLMwePQlYvgJeA/payment_methods?type=card response_code=200 +DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1N2HhVAbmaEugrFTTA9CSKUr",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "sdsqdsdqs",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1682789809,\n "customer": "cus_NLMwePQlYvgJeA",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NLMwePQlYvgJeA/payment_methods"\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_0TvqInfeKq6LQZ message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [29/Apr/2023 19:37:01] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-04-29 19:37:07.086572 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-29 19:37:07.092784 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-29 19:37:07.100573 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-29 19:37:07.111888 : Connexion du partner recid = 62f24843a09cde3b34017eb343c5955ac56df5ea04635be1ca OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [29/Apr/2023 19:37:07] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [29/Apr/2023 19:37:07] "POST /myclass/api/get_product_service/ HTTP/1.1" 200 - +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_NLMwePQlYvgJeA/payment_methods?type=card +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/customers/cus_NLMwePQlYvgJeA/payment_methods?type=card response_code=200 +DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1N2HhVAbmaEugrFTTA9CSKUr",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "sdsqdsdqs",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1682789809,\n "customer": "cus_NLMwePQlYvgJeA",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NLMwePQlYvgJeA/payment_methods"\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_nPvYGZxxJaaNbp message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [29/Apr/2023 19:37:08] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-04-29 19:37:08.949854 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-29 19:37:08.961206 : Connexion du partner recid = 62f24843a09cde3b34017eb343c5955ac56df5ea04635be1ca OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [29/Apr/2023 19:37:08] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:root:2023-04-29 19:37:15.887267 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-29 19:37:15.902178 : Security check : IP adresse '127.0.0.1' connected +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/subscriptions/sub_1MagFcAbmaEugrFTtVSSQg3U +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data= +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/subscriptions/sub_1MagFcAbmaEugrFTtVSSQg3U response_code=404 +DEBUG:stripe:body='{\n "error": {\n "code": "resource_missing",\n "doc_url": "https://stripe.com/docs/error-codes/resource-missing",\n "message": "No such subscription: \'sub_1MagFcAbmaEugrFTtVSSQg3U\'",\n "param": "id",\n "request_log_url": "https://dashboard.stripe.com/test/logs/req_LLSFf4oFF32eLu?t=1682789837",\n "type": "invalid_request_error"\n }\n}\n' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_LLSFf4oFF32eLu message='Dashboard link for request' +INFO:stripe:error_code=resource_missing error_message="No such subscription: 'sub_1MagFcAbmaEugrFTtVSSQg3U'" error_param=id error_type=invalid_request_error message='Stripe API error received' +INFO:root:2023-04-29 19:37:16.492687 : strip_update_subscription_plan -Request req_LLSFf4oFF32eLu: No such subscription: 'sub_1MagFcAbmaEugrFTtVSSQg3U' - ERRORRRR AT Line : 970 +INFO:werkzeug:127.0.0.1 - - [29/Apr/2023 19:37:16] "POST /myclass/api/strip_update_subscription_plan/ HTTP/1.1" 200 - +DEBUG:xhtml2pdf:pisaDocument options: + src = '\n\n\n\n\t
\n\t\tMysy Training Logo \n\t
\n\t\n\t\t
\n\t\t\t
\n\t\t\t\t\n\t\t\t\t
\n\t\t\t\t\n\t\t\t\t\tLa plume de pierrot
\n\t\t\t\t\t2 place du test
\n\t\t\t\t\t75001 Paris
\n\t\t\t\t\tFrance
\n\n\t\t\t\t
\n\n\n\t\t\t\t\n\n\t\t\t\t\tFacture n° FACT_234000259\n\n\n\t\t\t\t
\n\t\t\t\t
\n\n\n\t\t\t\t\n\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\n\t\t\t\t
Date de facture: 29/04/2023 Date échéance : 29/04/2023
\n\n\t\t\t\t\n\t\t\t\t\tOrigine : MySy_00W-nF\n\t\t\t\t\n\n\t\t\t\t
 
\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t
DescriptionQuantitéPrix unitaireMontant
Standard350150.0
\n\t\t\t\t\n\n\t\t\t\t
 
\n\n\t\t\t\n\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t
    Montant HT: 150.0
    TVA 20% : 30.0
    Montant TTC : 180.0
\n\n\n\t\t\t
\n\t\t\t
 
\n\t\t\t
 
\n\t\t\t
 
\n\n\n\n\t\t\n\n\t\n\t
\n\t
\n\t\t\n\n\t\t\t

MySy Training
\n\n\t\t\t\tCour du Havre 1, 75008, Paris
\n\n\t\t\t\tMySy Training Technology (MTT), société par actions simplifiée au capital de 1000 euros, dont le siège\n\t\t\t\tsocial est\n\t\t\t\tsitué 2, place des magnolias, 77680, Roissy en Brie, immatriculée au Registre du Commerce et des\n\t\t\t\tSociétés sous le numéro 917 500 860 R.C.S. Melun\n\t\t\t

\n\t\t\n\t
\n\n\n' + dest = <_io.BufferedRandom name='./Invoices/invoice_FACT_234000259.pdf'> + path = None + link_callback = None + xhtml = False + context_meta = None +DEBUG:xhtml2pdf:FileObject 'https://img.mysy-training.com/MYSY-LOGO-BLUE.png', Basepath: 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\__dummy__' +DEBUG:xhtml2pdf:URLParts: (ParseResult(scheme='https', netloc='img.mysy-training.com', path='/MYSY-LOGO-BLUE.png', params='', query='', fragment=''), 'https') +DEBUG:xhtml2pdf:Parsing img tag, src: +DEBUG:xhtml2pdf:Attrs: {'src': , 'width': 75.0, 'height': None, 'align': None, 'id': None} +DEBUG:xhtml2pdf:Sending request for https://img.mysy-training.com/MYSY-LOGO-BLUE.png with httplib +DEBUG:xhtml2pdf:Uri parsed: https://img.mysy-training.com/MYSY-LOGO-BLUE.png +DEBUG:PIL.PngImagePlugin:STREAM b'IHDR' 16 13 +DEBUG:PIL.PngImagePlugin:STREAM b'tEXt' 41 25 +DEBUG:PIL.PngImagePlugin:STREAM b'IDAT' 78 6645 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col widths: [None, None] +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 0 has width 0.0 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 1 has width 0.0 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 2 has width 0.0 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 3 has width 0.0 +DEBUG:xhtml2pdf:Col widths: [None, None, None, None] +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col widths: [None, None, None, None] +DEBUG:PIL.PngImagePlugin:STREAM b'IHDR' 16 13 +DEBUG:PIL.PngImagePlugin:STREAM b'tEXt' 41 25 +DEBUG:PIL.PngImagePlugin:STREAM b'IDAT' 78 6645 +DEBUG:paramiko.transport:starting thread (client mode): 0xd01ac580 +DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_3.1.0 +DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-OpenSSH_8.4p1 Debian-5+deb11u1 +INFO:paramiko.transport:Connected (version 2.0, client OpenSSH_8.4p1) +DEBUG:paramiko.transport:=== Key exchange possibilities === +DEBUG:paramiko.transport:kex algos: curve25519-sha256, curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group-exchange-sha256, diffie-hellman-group16-sha512, diffie-hellman-group18-sha512, diffie-hellman-group14-sha256 +DEBUG:paramiko.transport:server key: rsa-sha2-512, rsa-sha2-256, ssh-rsa, ecdsa-sha2-nistp256, ssh-ed25519 +DEBUG:paramiko.transport:client encrypt: chacha20-poly1305@openssh.com, aes128-ctr, aes192-ctr, aes256-ctr, aes128-gcm@openssh.com, aes256-gcm@openssh.com +DEBUG:paramiko.transport:server encrypt: chacha20-poly1305@openssh.com, aes128-ctr, aes192-ctr, aes256-ctr, aes128-gcm@openssh.com, aes256-gcm@openssh.com +DEBUG:paramiko.transport:client mac: umac-64-etm@openssh.com, umac-128-etm@openssh.com, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1-etm@openssh.com, umac-64@openssh.com, umac-128@openssh.com, hmac-sha2-256, hmac-sha2-512, hmac-sha1 +DEBUG:paramiko.transport:server mac: umac-64-etm@openssh.com, umac-128-etm@openssh.com, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1-etm@openssh.com, umac-64@openssh.com, umac-128@openssh.com, hmac-sha2-256, hmac-sha2-512, hmac-sha1 +DEBUG:paramiko.transport:client compress: none, zlib@openssh.com +DEBUG:paramiko.transport:server compress: none, zlib@openssh.com +DEBUG:paramiko.transport:client lang: +DEBUG:paramiko.transport:server lang: +DEBUG:paramiko.transport:kex follows: False +DEBUG:paramiko.transport:=== Key exchange agreements === +DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org +DEBUG:paramiko.transport:HostKey: ssh-ed25519 +DEBUG:paramiko.transport:Cipher: aes128-ctr +DEBUG:paramiko.transport:MAC: hmac-sha2-256 +DEBUG:paramiko.transport:Compression: none +DEBUG:paramiko.transport:=== End of kex handshake === +DEBUG:paramiko.transport:kex engine KexCurve25519 specified hash_algo +DEBUG:paramiko.transport:Switch to new keys ... +DEBUG:paramiko.transport:Attempting password auth... +DEBUG:paramiko.transport:Got EXT_INFO: {'server-sig-algs': b'ssh-ed25519,sk-ssh-ed25519@openssh.com,ssh-rsa,rsa-sha2-256,rsa-sha2-512,ssh-dss,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,sk-ecdsa-sha2-nistp256@openssh.com,webauthn-sk-ecdsa-sha2-nistp256@openssh.com'} +DEBUG:paramiko.transport:userauth is OK +INFO:paramiko.transport:Authentication (password) successful! +DEBUG:paramiko.transport:[chan 0] Max packet in: 32768 bytes +DEBUG:paramiko.transport:Received global request "hostkeys-00@openssh.com" +DEBUG:paramiko.transport:Rejecting "hostkeys-00@openssh.com" global request from server. +DEBUG:paramiko.transport:[chan 0] Max packet out: 32768 bytes +DEBUG:paramiko.transport:Secsh channel 0 opened. +DEBUG:paramiko.transport:[chan 0] Sesch channel 0 request ok +INFO:paramiko.transport.sftp:[chan 0] Opened sftp connection (server version 3) +DEBUG:paramiko.transport.sftp:[chan 0] open(b'/var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_234000259.pdf', 'wb') +DEBUG:paramiko.transport.sftp:[chan 0] open(b'/var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_234000259.pdf', 'wb') -> 00000000 +DEBUG:paramiko.transport.sftp:[chan 0] close(00000000) +DEBUG:paramiko.transport.sftp:[chan 0] stat(b'/var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_234000259.pdf') +INFO:root:2023-04-29 19:37:22.035960 : convertHtmlToPdf DEPLACEMENT DE ./Invoices/invoice_FACT_234000259.pdf VERS /var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_234000259.pdf EST OKKKK +INFO:paramiko.transport.sftp:[chan 0] sftp session closed. +DEBUG:paramiko.transport:[chan 0] EOF sent (0) +DEBUG:paramiko.transport:EOF in transport thread +INFO:root:2023-04-29 19:37:22.038974 : Impression facture N° FACT_234000259 OK +INFO:root:2023-04-29 19:37:22.088622 : UpdataPartnerRankingClass - Le RANKING de 4 ont été mise à jour avec la valeur {'display_rank': '20', 'date_update': '2023-04-29 19:37:22.059801'} +INFO:werkzeug:127.0.0.1 - - [29/Apr/2023 19:37:22] "POST /myclass/api/createOrder/ HTTP/1.1" 200 - +INFO:root:2023-04-29 19:37:22.253429 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [29/Apr/2023 19:37:24] "POST /myclass/api/Check_MySy_LMS_Account/ HTTP/1.1" 200 - +INFO:root:2023-04-29 19:37:26.667730 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-29 19:37:26.674822 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [29/Apr/2023 19:37:26] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-04-29 19:37:26.682015 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-29 19:37:26.687751 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-29 19:37:26.690901 : Connexion du partner recid = 62f24843a09cde3b34017eb343c5955ac56df5ea04635be1ca OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [29/Apr/2023 19:37:26] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [29/Apr/2023 19:37:26] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [29/Apr/2023 19:37:26] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-04-29 19:37:27.590314 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [29/Apr/2023 19:37:27] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 - +INFO:root:2023-04-29 19:37:31.751240 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-29 19:37:31.755119 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-29 19:37:31.763535 : Connexion du partner recid = 62f24843a09cde3b34017eb343c5955ac56df5ea04635be1ca OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [29/Apr/2023 19:37:31] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_NLMwePQlYvgJeA/payment_methods?type=card +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/customers/cus_NLMwePQlYvgJeA/payment_methods?type=card response_code=200 +DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1N2HhVAbmaEugrFTTA9CSKUr",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "sdsqdsdqs",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1682789809,\n "customer": "cus_NLMwePQlYvgJeA",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NLMwePQlYvgJeA/payment_methods"\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_mScQjDk8EKxSWr message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [29/Apr/2023 19:37:32] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-04-29 19:37:37.032554 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-29 19:37:37.039891 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-29 19:37:37.043104 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [29/Apr/2023 19:37:37] "POST /myclass/api/get_product_service/ HTTP/1.1" 200 - +INFO:root:2023-04-29 19:37:37.056023 : Connexion du partner recid = 62f24843a09cde3b34017eb343c5955ac56df5ea04635be1ca OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [29/Apr/2023 19:37:37] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_NLMwePQlYvgJeA/payment_methods?type=card +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/customers/cus_NLMwePQlYvgJeA/payment_methods?type=card response_code=200 +DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1N2HhVAbmaEugrFTTA9CSKUr",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "sdsqdsdqs",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1682789809,\n "customer": "cus_NLMwePQlYvgJeA",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NLMwePQlYvgJeA/payment_methods"\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_TvD0mbCLew8fv5 message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [29/Apr/2023 19:37:38] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-04-29 19:37:38.719345 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-29 19:37:38.727944 : Connexion du partner recid = 62f24843a09cde3b34017eb343c5955ac56df5ea04635be1ca OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [29/Apr/2023 19:37:38] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:root:2023-04-29 19:43:10.731108 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-29 19:43:10.740404 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-29 19:43:10.743824 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-29 19:43:10.748816 : Connexion du partner recid = 62f24843a09cde3b34017eb343c5955ac56df5ea04635be1ca OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [29/Apr/2023 19:43:10] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [29/Apr/2023 19:43:10] "POST /myclass/api/get_product_service/ HTTP/1.1" 200 - +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_NLMwePQlYvgJeA/payment_methods?type=card +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/customers/cus_NLMwePQlYvgJeA/payment_methods?type=card response_code=200 +DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1N2HhVAbmaEugrFTTA9CSKUr",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "sdsqdsdqs",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1682789809,\n "customer": "cus_NLMwePQlYvgJeA",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NLMwePQlYvgJeA/payment_methods"\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_xOa3agqZgITOPD message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [29/Apr/2023 19:43:13] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-04-29 19:43:13.695603 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-29 19:43:13.703669 : Connexion du partner recid = 62f24843a09cde3b34017eb343c5955ac56df5ea04635be1ca OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [29/Apr/2023 19:43:13] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\lms_chamilo\\mysy_lms.py', reloading +INFO:werkzeug: * Restarting with stat +INFO:root:2023-04-29 20:08:41.388510 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-04-29 20:08:41.388510 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-04-29 20:08:41.388510 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-04-29 20:08:41.388510 : ++ FLASK PORT 5001 ++ +INFO:root:2023-04-29 20:08:41.388510 : ++ LMS_BAS_URL mysy-training.fr/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 229-221-900 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\lms_chamilo\\mysy_lms.py', reloading +INFO:werkzeug: * Restarting with stat +INFO:root:2023-04-29 20:09:41.273415 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-04-29 20:09:41.273415 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-04-29 20:09:41.274392 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-04-29 20:09:41.274392 : ++ FLASK PORT 5001 ++ +INFO:root:2023-04-29 20:09:41.274392 : ++ LMS_BAS_URL mysy-training.fr/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 229-221-900 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\lms_chamilo\\mysy_lms.py', reloading +INFO:werkzeug: * Restarting with stat +INFO:root:2023-04-29 20:11:05.470604 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-04-29 20:11:05.471600 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-04-29 20:11:05.471600 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-04-29 20:11:05.471600 : ++ FLASK PORT 5001 ++ +INFO:root:2023-04-29 20:11:05.471600 : ++ LMS_BAS_URL mysy-training.fr/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 229-221-900 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\lms_chamilo\\mysy_lms.py', reloading +INFO:werkzeug: * Restarting with stat +INFO:root:2023-04-29 20:15:55.005599 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-04-29 20:15:55.006600 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-04-29 20:15:55.006600 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-04-29 20:15:55.006600 : ++ FLASK PORT 5001 ++ +INFO:root:2023-04-29 20:15:55.006600 : ++ LMS_BAS_URL mysy-training.fr/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 229-221-900 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\lms_chamilo\\mysy_lms.py', reloading +INFO:werkzeug: * Restarting with stat +INFO:root:2023-04-29 20:17:34.419476 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-04-29 20:17:34.419476 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-04-29 20:17:34.420986 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-04-29 20:17:34.420986 : ++ FLASK PORT 5001 ++ +INFO:root:2023-04-29 20:17:34.420986 : ++ LMS_BAS_URL mysy-training.fr/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 229-221-900 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\lms_chamilo\\mysy_lms.py', reloading +INFO:werkzeug: * Restarting with stat +INFO:root:2023-04-29 20:19:44.498045 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-04-29 20:19:44.498045 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-04-29 20:19:44.498045 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-04-29 20:19:44.498045 : ++ FLASK PORT 5001 ++ +INFO:root:2023-04-29 20:19:44.498045 : ++ LMS_BAS_URL mysy-training.fr/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 229-221-900 diff --git a/lms_chamilo/mysy_lms.py b/lms_chamilo/mysy_lms.py index 8ed7d9c..cf073dc 100644 --- a/lms_chamilo/mysy_lms.py +++ b/lms_chamilo/mysy_lms.py @@ -121,6 +121,23 @@ def Create_MySy_LMS_User(diction): if diction['username']: username = diction['username'] + # 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" + + nom_partner = "" + if ("nom" not in my_partner.keys()): + mycommon.myprint(str(inspect.stack()[0][3]) + " - Le nom du partenaire est vide ") + return False, str(inspect.stack()[0][3]) + " - Le nom du partenaire est vide " + + nom_partner = mycommon.remove_non_ascii( str(my_partner['nom']) ) + nom_partner = mycommon.local_Remove_Ponct_Special_Caractere( nom_partner ) + suffix_nom_partner = str(nom_partner)[0:3] + + username = str(username)+"_"+str(suffix_nom_partner) + registration_date = datetime.now().strftime("%Y-%m-%d %H:%M:%S")