From 77e8be1c6eec4c87ad32ec0d59566a87ad0ed7e6 Mon Sep 17 00:00:00 2001 From: cherif Date: Wed, 25 Jan 2023 20:27:52 +0100 Subject: [PATCH] 25/01/23 - 20h --- .idea/workspace.xml | 19 +- Emargement/fichier_presence.pdf | 99 +-- Inscription_mgt.py | 88 ++- Log/log_file.log | 1117 +++++++++++++++++++++++++++++++ class_mgt.py | 4 +- data_indexees.csv | 5 +- strype_payement.py | 2 +- 7 files changed, 1242 insertions(+), 92 deletions(-) diff --git a/.idea/workspace.xml b/.idea/workspace.xml index ec52a2e..8f915fc 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -1,10 +1,13 @@ - + - + + + + @@ -262,7 +272,8 @@ - diff --git a/Emargement/fichier_presence.pdf b/Emargement/fichier_presence.pdf index b9743f0..26c41e8 100644 --- a/Emargement/fichier_presence.pdf +++ b/Emargement/fichier_presence.pdf @@ -2,7 +2,7 @@ %“Œ‹ž ReportLab Generated PDF document http://www.reportlab.com 1 0 obj << -/F1 2 0 R /F2 7 0 R /F3 8 0 R +/F1 2 0 R /F2 5 0 R /F3 6 0 R >> endobj 2 0 obj @@ -28,35 +28,19 @@ Gb"/+D5$PP%%RMH+JBF0:^K[k"<:B-,tn@Q-34F> -stream -Gb"/,%qK2'pO@YCf2uPT2l^WBW"Gf)7ZGJY6rcZE`MaNH7]lNe7^:pZ$RJImoAp6%LiJd=N1W+t0;mO1)GAZ&e][eoZ)inofXs[RbCl/D,B$A:'#On;(O_;+U:jdmL3ZR,=`b_eX@$&&:D4RN?)Bqj,fAt$Nmb=Zn`&VJWcM,[a\SbD"/Rh7O8U$f=gqe^'`9"V@8WL6dEe"Z89;q"f`WGC$`lc3PJR_G*Bmct0lJFtV;rV&rOfW-fT(]?lM,lXP%N=`ou8$"`bWCfi1.3\.u\hKt676+#dNtaj]:&a-Rdk)q/m?M4OO:?JkpJOSI!##H`I?\7&mt1Q",[m@Gs9A"/aj"4UL(/k&g0G6g@\f@::CaIU)D]Cr`4PDSroOcjD-JnjbV*3pn_fd\.R"42U=-b*&"Sl6fZaL2Ms1M(r:M]VRrJE!dY6JOKZ#/:&R7R;^dmIWU"4M]CP;?m[h0*UoCpkZoS>=\8P"49e9r]!p6r?qV!>C/ZDl>sY)n:JSII(=`JP`%5P6WEh(/nBnu!";A2mH'i+1_dWVoF[Hj\@s%r?#qLLBdd41gMV\dOCAP2PNT;E&@&\*DN+?U!Z[;qW'@3[6UP/I\qL&Z?,q?R$0"pXeJJ3=1O`!%=g["'(7RM9&gNm@$O&I>;*.f80UX;k`eqq%+9a#'c5<["&14G9aXOHtO')QO:.]26oraRfek;/K!Bg$5^5>[58W:W>9X&@9[AGR*a4'S2E,VP9.L]L_ltf<\,C;EF)V-/Rg!as8=U-nu_2^&>g<&<^(1sdl,@QDi#1"2-8pn`X?2W-\5]+eK<#>gNB'@?*j&,R$(9:36K6e9&Z_AfX/0]5P;ZCJS$,G.G):VRaY(Ft-fP.W73*3IKAiU$*S&jJ#mlH#!5-2i((B!@%);1O$@-D-$/;JbPr`>BgjDR(OG\P[@Q[P">H-tN,(+^cidSjuC@K!VWn`t-;37g8r4r#/4E)Dq9u.GTT+3_g?I]+u=:p-2WgYFC-#E:o4=3n-4YFLMo1Arjmhc(R<3q["I7b(B-dOX4frDD!VCjsA2r<-3V07tnY.Os4#;S#J#q!O]5([l'3af0AZn;CF?Ig217PuM/F*T'*-8[FYRSE43TuFSeF/HbDp;luTBtI&c*fjmDkG:_4jCF]A36DpLD(aV[n^dEnfUe+*r`05rAqN5`Zki/bO)Y#1Oh]I56kB7#XcfiRtmSXM.aE!0?.dLf'$)05:A#'"Ojr,*Ek)Hqf\L<@n#!S/l;Qt&KS3#"/Xp%+)GEBf\r+iJ`nHIS/t@(6+]CYJe$5PT[&V5*feu6nf/Kqog`fm,e0U^ODuOCG7J,,SY&C2O$HELDO/kR-$8*>!%$m5ntb+2-Y1_,cL+:qJ);\mo/^4-rjJKWDM+VIUp'f!-UZT>3Mi2Z/TAX`.8%m/8r%BUSaWo(Pop^\k9Jb]b!AqDrW-W1Yb'V_53;JFoV]kjCNjZi;p)o/%eJEBHM$ZiO/3=J!lT^XlMLQAGi9i[/%R^(%K?#D1BfJgKeA=V;-WbMp-oRA;ia'O&Y6^X*k9nYL"fH@5MLJQQnS"(Q_QWj;LE:ag8E'HQlP:r@D4KrWGuY&DH(p%I"0`#\HLRq]M)sLcn^k"%CffP[j%E9jcOm?+Qlsmt7Vi4GE*R/h86,]<6#ZCJWqo;+#ZV&_@(aoh,#KJWC_d$p#uPLG,a>5'fJl;["C]_e?_,?`Hd8A9:3]9+HOC4*AIGXcEeMBCiJII0KTKm.#$(dY2mTaYFAD$D^@PkG[,/aghqQ?KVaMJ]]RO3!qR#-M4!epF)&.Y>Rm288Q4r8Q?>qj4/.r"Dr`V68/C!Cen5kg:h?7N848d6\jOSRVGDN#C218q)b4@T4K]M^eWROJ,G2rk0$16490L1@gIhhPB=spf*cr-!Q:$eEfN_UReS->RhCbE]N`ldYY#na&nemP"ch](-A_#=dCFNU$lN2[OM(?e&a/sVhec$`RAM2fEn5G*VcWD@uBNNO#b/S4n,ZO^DWa`)3tldoT*Ml<;3DIeHC%\#Jd!b,J!KlMF2YTB3folpU=5OYLE@\4E*W?d0:;5Wl=0"HYlEouNuHAT!ar?5j%Zq:(okL-O[Y?GH)e[.^(C"f$/]7kS^e:JdNG;'DXYUK*%2#I^PILAiL>sQjI0k10"V*Hj]g;Mgml-:'(@`+ki!GU:2Y6BLhjb*Of)(F!?_s@Oi+cE=5D/F`iVlf9;70"n4^@/fcAA"JL\W(X<:E+h?YG&kg#HK2TE+qE#tjU_H+%Y-W!fYcZDbcDCOW"?l93s>%^:-ogVO1Ec#ETrWFP;^)euK%4EoJ5u0`]bI.BL37+:l*o&-?90J$GbZ;O"\&U-K-iPa"\M;#f1khs\teKV"LA)^3?ON\o-hgG2.1@W8B'2m,IIJlS4QTgK92@QJ0`pG'O)SM2n\IJ:V.kK-6m[sWWqJEM65M+Rih/:_&80`VZl91p_\W;m[i'.N#?kJ`!m@4(X)'o3VMsgo_:s6#u%Uu#Muf?WD#M(\So)=9NTX3BtKoe`gJ\`Um>[TLl#IRiYgE*o(4m?K/0K)&Sm+5P>\$QR'!`V;3`Ij6tu4m'%m'Wd6*c(AiX_2omQ2qeu[$WC\;2TA6C4OaE^(?6\,G&)Eu89HY3-b`\ELQM#\8)rh4k.FUl-,hc;?Kh*_=55%lspl49=f5JS,6B!B[=K/<3V406MR)Q6uM9K7;fK2fDPk>3:8/+R[4dNt@8BsRSq+BS),4Sg0Q=j<[DC//C/QGYQ-Em%:WZk$8/GYHjB8Nd,P9FDs"r/5niI,U?"HjZkC,@#Y;\<6nGXhA,H;[bPD!3N:]R/OSPWu*u"S=&1mgttgK9_CuPtWap[.mH9!0`LsNb?cKh,3";=Ng?;a"c5Gm,"U85a.[bjGR7V-g([I#@>u4^cVQ?UYX#`QCo0M(@EPlh&%UrNE'8Hgki$pqW[e>S!1lsLQS.]`-P`iD6s?pPh%0leo&JgC,BA`W)GnaE\6^ZHVFqOnD`qoQcjK-AI#q_i!d:V-J8Q5>hEti"t-)nlH-XK;IAi7>skkGg:8f*m>ZCkiZT/WX2^>!eT8lR')[k%79o-Mf?`$pe#!>I#gTjMRB*OPBP;-Ndj!U>+SVL#=5j$F,-r>5*imdM:SB$4*rqTEOQ`Wt-0cFA]Z,W@$\WhJb*JfL_R(W"a=YSNsqm6@(nTr9)*HsUKSo;R_J>+_os3g-nqX]39p8m/Hic*R'XXHn(US>RQ229g47Xk8f+%B6AS[osq(^<>;h/%PdfReK*X`6bgPpd!$N+EKC/;.3kogc:r#(lc+^p._0BS5ai],.QP=thGVbRfPQ<&>)GY%nr3RB#I6iVlZi45;p4^QSFA[SWbL)Ya"/jC48C[!cQ@<\u$T*fLWLd3+D(Qe4;hHsWaSnq'`I[abecPADV-S,BM3dm9p@3Z`uloNaloGVJY%?47?K`Q#8#7`R(E]c6`H'uE%Q"SB_%3U-`(C0t4-`NB2J-\89%UIQGUDQ8!ch:oPdL>YG/ErnD6Y[f1]/G=,<2g@39cp%6Q4];n32AZc>%nYpXAU_'D2te74P+!t3dq<(tZp@cXMU^:RB>3tad'nTt%A"k.8&GUcm\#Xa4NF0b4GW65-?M:Ia4b3>h/XF^/?BU7^B4?nZBe8t\7B;2C`6;6B[!T#lsr-ECr[P\0e*p+[i?7W"88s1G_X&I_%+A$Xfiq1G[]I^3bDTbs+)&&.kO2imA=d)h8i*SD`R/H3D3''Md\9C-_bY%?7g5IWj8&LV@BuIV3c-_)?i\mM22(LPOkCqV@Z)1!9+%8p??&dJpOM?%`1dHk=4rE_n%E?0odH=u(Wm1DnX_&k#4P:OoEs!P"472]R*\#sqF#GVTEahhRk$O9&bcX]V+$#q7ZaUFFXF*)63KSOGI'85&d:S79=Uo9a/om^Y?g3U9b4nT2$g?I2SArgW^?.d9:^P1A?RANmsLFB4NlT7#85!u<:@a&!c7C`rGp=F:e)K;G^Lkg#G)&]%O98,YjUbgL`gJruka0CtZA"LO8[GZe"%mUX)(Pa/8C=\1=.ibM"56(nSgV,-lWl=&:REXCn1fj:4@.kIJ3)q-[BKd&bk5WTee;5!p,+s%8tQH.S$IYtf`(%/r\#i]?Pn(aF-HaOb!"0hq]FoB'(X"G;?XIW&Rii=G=CFW*2-%R8W0GFel2+RU/DlJD4;5`\:C=n2ZSET3f1:(OJD1kXub&Ss4h'P);e%7;Lh;?X8n'pJ)53![nZgd@G59B@7F',DVWuL94s"c$L4fJe7[[m9H#+h0k?q',i?#4D=M^_d\e0Y>(\Y;$94(3OlqpD[4cMk]u+l9um?+3!T5;B3Aa[6,gNs9(uOZLFhHcIUcHM+(K&(?h7?_.NZ#Ui8sp-D2kW@C%gT,T,Vl=P+7XG$itBZ54d^K9-ne1.-)gi2dkqn_P8[R"[7KQXBm1/fDI.-k*m6Hd@:%H>%kBu=`8+!\l:7`ZjbJiK><\F\JfesSBtIi"Y9hFRn:]p0iAgPr@c;!OG@l;=rV9%D5sK2a^'pMR-i'4_MCPD!'d7FX#0KsD6?CpZSD*$I)3'W78oB_5%A$U>_=-IQOIUJ/msQAOSu-0N`MEC-K&%nZ-If_Qb`.k2l2&HAT\0;2MF;hLiak-\5MN/kS<#_AZ^ert@3"Hse2B4j6%'AbSc'\p[UY'p'GFC1TF3P&/?Vj?'P(Ma>7cAlQ7(dN3s/j<]ajA&f]!_a3C](dDbel9p'#[./o8Cc!u]4^!"`4=7-<,GlV'kWVaJXKcS)Q#M-iLD:<*hE.5TO`WJ]VlYp4JF1umhbH?q8`rU"YF%X),'OZ$77`!j?9-f./V("Q&Jk`Vj3@F02r1\9t!M"\\=[M3qs_Ol-4/RNTgpcqI@&B3^15[qq\HS@!f*hb=_ihn0_VhV;nKqo/ip-WHV%hIhN]7`b1g#40G\"pqdL8V,q?UF>,Dd&@2B3.E93>T:R0'+(BURqnL,'t*MgE7n`b+(>i/M>7#A`7I7uXU9W![`:4Mih9BliQ>oiti\qt?7dBE>4X$Ne:7;uHseB=P>Qbn4-p81d^G[FP29?%.WBJ=bHY2eOd*40eSnDY[<]h(bD1@4?.,5(]?>W(l.a==+&Gou78gjTB/u+2XQ$@+saP1FGh#3'([G5tG/'PnF]BT*r)Q.@Vd"F??dWo%hKMB7GnoKS5#3KS5#3KS5#3KS5#3KS5#3KS5#3KS5#3`5SE/P&gpcp"[rhPKmM,/fGpo4Adj[[U(9:B^q$al7_IN8k<2Z+;mJs`MnY#N>,rFm>2=3Bi.1)C/Z-e32e#,?Zq\moiSK?jY$t4/jkaO4A&jbN4c)KUDc9U^Pl-'lWgZrp5q%/d)DAF5,J/S1d6#(C<:+G_,^AXWEqXH%'H/jIfo3c4p]+[66)1uCL%<:c;U(c"Ek*.bCKn?+WI!jJF>QE3lP?oV[EZWKJ3AD$%hg!p'%G<'*pF.#/.Gn?=LM$G\17rke+;4ls15:Is2%I81#+t7tn\H4MQc>:RHR+0^5G`^cG&.:*CpJ;lGJDl!jI`0]ebU"tl/1I+NuGEWu,WiEr\8/KCR\?Og-`/hM%8MGsYf`jf'f:\CME&P]fY)W`1cR2X@-mg*)RQDcD=74ntG's*b6FSS[j87DWZ7>b'$b77g2).fPk5Sfn)/j\Fd8t67m,?9`a'#Z(R?58u-K:^;B`k2=!DX-+3OI,4m\e+n*+.\)'T*[@(nCQMC]_5U^F]jBpW=i8X9?G6k:H(p97F5F.+JN?L,pVj1Mdq=9ee=Q?o:46-,B;BK9G!+4pTljBRF'G#LRK\J9/co&!hC'3!A8+77!3WR(i0s*!=O3T+L"u?\HihS^`10:Dp]u12*%hh8RX(lELC2i!@bTS=Jp\8"."bgJpGsj+-,2sVDkS(7WsMb4lM?@5&E@D:0>j>l.m)5=:qPW'fMCs=[M*iNCf::T*udOT*<3kUZQ[G.<>6TYj'm4)-9C#r0*eN4)1b\`mTl/eKit6rAO0KEb$!3Bu:VBI'mp?IqKU5o.?h*'FlaYh"Z`N.5g"bP&'%;p8Ur%/_,_9_#ES9qhL^pp%[t1g8m*CrFgI45AD:GQ92Za9=A*pK9hU\OHB5B!$r*g:UnqI2;)/-dDA>Gl-lGO%Qi<@8[b7e3\*V<[BOEUkJ4g*&lu799!YR6BnfHeMaFab.mcMfJ\Ab*[T;;NhNI#MC:o()32LIUMZ0HmE2d\K`K];e$:O@g/&eakFl8Mg`T_BBjr/.j18P&ceJPu9;>9P.5+X&!P+X&"K)=[[f)'?N~>endstream -endobj -6 0 obj -<< -/BitsPerComponent 8 /ColorSpace /DeviceGray /Decode [ 0 1 ] /Filter [ /ASCII85Decode /FlateDecode ] /Height 98 /Length 4857 - /Subtype /Image /Type /XObject /Width 313 ->> -stream -Gb"/,%qHp<++M:/;,OTmU8$YcWYI$ZX>mV^C.1S1WLl5V@`=4'X&bcnZ.>lfVbX?t[;*ZVSN9bnelntPXnmlSX&c@$>-Xf27?*0C@rB#qmsAt.R7Yl^]A(g,[e$a_c+M8mpHJ3Is5)fBET"W`!s]<"&bMi[]%t>T0-l=b2Fo+aE6aJq%CT^)CmQQU"e[tI*9rucA9_3ricolBUeV)F)6aM;d&(X2s-Bb-d+o`A;Z'f/jT+tJl8fuA.,[5t]0tgP\KLuZ?Wes4%2>QSUd+BWajuPdP@qajYf^[_Nkp>+1Sta5jSTq:N,a.>Z]$`33i?':8?fjMeS3pO/cumPY'Zcof9rI<8QSI#mKgs^'Xog;ik9b'Tag"i#R4-3<2sJH#Eqam(NY,i*!piFi5,PCsKpB^t^h/sq1dnq+]5n?PV?+RE3%C3%f&nB.[Wj`5=5Y2m8B(tu3a`hr.N!G`=t]SSbV<[GJ9%-@R&?E:4JsT;hLI$k-Est]$1j:QRM+k7NBs-?YMELPjLGDV1p=T=2#Gbn6f8+p'iG6WPl/`Tm4&ei/(XgCaUmXS?]_gjJ?n-<.Jd%FA;>K\@I=XokNMQh*LS2blkV":Ujdh[kD6R->I=%]Te-0se":,I)SQ$)/k%eH:t,r6BgW3B\i#Nf%>^KW'2Njen'gTrb1'(OI.R/5kYAESId#3k2..*;%ApSC120=Zf*U+q\#,r.3)[<:][o_d]Rf![&e9g+O"$AJAYb[P?7QRY%,fYGa9qL6MS4@kll.,Fb-/&bufaV&'fQkA65=;H.O)_qolaV?q?N&n83r;.K3D:!H_RH>.VK(;,$G$*]kK7bj>0J5_l=XWJ4WQl,]Xg[<"SEq\\=]skb;Qr#6P5Od!];e5a`-r2`=ihRiKCO>,!BfHcI^1QE8@%^]&'Xuu_8T3p!N`o%pC,S;]7-&0>8g+/'ioLMfbu;Bi&5IAm)7;j!h7?sAU@@se!FOFm\am4)F2iGI)Y;,,pRcL"hfa&oosG86@XO!6$J;#(Ph9DPI]9F^DX!jI0T$RVuXRt6Yd9h)2ptd*qMIua.^>TMd:<7NaQ0q?/j_\SMMfaT[h^-27SJ(VC5s/8=KYk";=#*c6@6sr62MbhM6fr0m^6uX^)Br@FJfWp9b)QDm_Mc'u9>iL18OX!,n=ETp4Cl7U,pniV02p;V*l?&uuMb0=M(mkPNo66:V$fcSd\1.qudcF2X=^Ftt:S8W%c=<>RYW:qYnpJe,2$RAQZ'/`O9"B60.^'"Xs:S&A=EI!d*%Me^Dh(J)2*k/PC0LDBab2B*MR#cBTMM$suKTEa`loGn3o_lLf]pCYr3H?^0.M&F7J-?XD%EH,O-kqG\TW73b/fCb#V[3\gI6RRlU,DZ"Eqp*W*@&Uoj.F9D4:GWb/JL[:'h&G:!3De@C3N2`ZYn2[tBW<7-E_lrS:N$0@OeJLN>fls3Y7ooQ@ji=VYDKa2.\]'S_XPPmK#A9eM2P!`->KR!=[M+SQl7+6/0jR%c76.8l7c.co_nQDd(4[c"rJ4?gXW'j4]Y)$5Y`.^)'OQ4X;[fu!IH2Vi$"SNi0l.KM-Bt)l(K_%>tFC4Qk/Zro!ZC[1*0O8A*JCOME6SfU5?Y(c-rqRVBm4p!nZ'Z&^9K!q1cg*0cT:O&=5kC_g=gK1)#7,VP2=Ln,oo6)eU+d:`QLXj\)'Pn.tIOOcG]GTCkd2RUTb1'.[&ln`E(I=0`hBKPS5o(O^!8"k0ls`(V/r,d%@]>d)npJrhrfTA,\re6q0N1iinQjOp;[1IAT(Qo!M\W1j@+b+JE&Zu0?8B$Bas:#aMLYpl8JC#dg!a^2k!:#Mk&:IYLVJF-Z0/0]nrBqhU'MD@Xl%.?DTRPmp)KhpN`)^gn?af)'bWiE"lrk%9#I7\.cOH+a;gcX:9:*MD1q!(RMGG:hn(2/[;0:/bMBIeZ)"h4!YFrf?jYjD.gm'])RB$DLMm&IZ9*qlXcTK-7kWL)-Cm%$0N:0s`LS<>CL'UE1:]qE/'DK]dAH`tjpC[n8W2i,V5/:?c>75GS%..mELOi,Vf4'T"rbX?e8'W#dg0\6S'_0`[RojOO0m@kfV9,2RnfD6fNc!bdQBn/W6S#M'A`NY+'d#`$6A>Ai+ACH+(h#i?5QIs[!L.Ys;XgBRT0$@jAQ`*(8Gib^TcT&]6U;u+1:*_+U6*Jq**^l5eAZ!nHYXq=1GPra#?n>+TW[^].B8`V@7Zkga]uD9%oHF`Dqkd4$XQ)%)/Xtq&1?\RQ^^O7=;:Q@R9:pi;Di%^8M$p%J2-pZ)68dUrik0i6\'@]NM+](!4/o95U&2oKAO(V`3C6arho1>%dHhViYU,`@JdIq280AbmfiIm7Y(n#it]GEGhWO-cp_)ooPC5@601gpk=f]2:rkQAbo*'Y,$h3-5D-?#KbG\Fsia=fM@KaK+ZG>5nQ$t?*Z>M3FfKd1aC7X*:M7[RIc303jd"-c=YUq32'f*P>1eHe;>UrmO,e=(#X;2F+BqC`loAGlmDhi12p$@690i_;laR7^I'+:&P7>*?c9(>aJ#0L_q7C'*YEL\/sp,8G\GPO!SH0s>-H'h\C?M58Mp<6N="FRkK[NI-7CS^1lNT,_Fg[s+p1Ke)a;ho,8DWUS^R)%XQ-hoZo&T1T!H&cY3`ioEie[B_NR7+^)UB/Jt]U2>D7p.f?$/Cm,ZNfM(S+<"e-Elo)7LC*2Ta)l'^3]E\Dts8+p9V10AIHj)kF%6m/7>`\&k@>Z`s^LKKDG9s4Ul.TE$7jOBEO-^dXn.`ZQ2"V"5X=l2AnAE3Z3#m(Hrd`80o[L2E7dh13XD`Qc:tB%k=cj2E)^I9Bk0L@VZp$NLR"-^f;EJeBGn8N'f<,58J1Y&o*>09ughg3:N6?H$fa<^G(W"2X5'c^ROR#cXE&q^O_I$%q7YtoFBkK,[#Po,%i,DaZJ)9+dhKRL_$#NIGf6;KK,$e.kZ\)Gj`kpF*jK]a^hb4c7BQTFk(Gu8%Z#NZG)_Q!F]?tf,nij79G,IFb&#]B`3CkRYB+#SoE*[Ig(N*!#UV..$MTGGG45!+K1F&f0b"5_.T>EsM?QL"+(N8PZNkbqnlmN+6:]>k8*]>_M4:K*9^]Dl@9>3`kC/USiaq^NM@`i]gs@^4>.Ys^^G8;nqUM<*;[4?aAsM;c4sO[LrbO\07Ag$*mXYdj7GCStDtOSMNr`g]pD"/!;JV9]qda-)kgr7Z2L@S*)p(5TN?dllimY[$;,(4uQ5U_=G'E8\OJKuendstream -endobj -7 0 obj -<< /BaseFont /Times-Bold /Encoding /WinAnsiEncoding /Name /F2 /Subtype /Type1 /Type /Font >> endobj -8 0 obj +6 0 obj << /BaseFont /Times-Roman /Encoding /WinAnsiEncoding /Name /F3 /Subtype /Type1 /Type /Font >> endobj -9 0 obj +7 0 obj << -/Contents 14 0 R /MediaBox [ 0 0 595.2756 841.8898 ] /Parent 13 0 R /Resources << +/Contents 11 0 R /MediaBox [ 0 0 595.2756 841.8898 ] /Parent 10 0 R /Resources << /Font 1 0 R /ProcSet [ /PDF /Text /ImageB /ImageC /ImageI ] /XObject << -/FormXob.4ed3683404380cf4fbf100d5533ed262 5 0 R /FormXob.689aa3c649eca5979dc99e2af33cde28 3 0 R +/FormXob.e44df33e47a7052a680cb88b23316378 3 0 R >> >> /Rotate 0 /Trans << @@ -64,74 +48,53 @@ endobj /Type /Page >> endobj +8 0 obj +<< +/PageMode /UseNone /Pages 10 0 R /Type /Catalog +>> +endobj +9 0 obj +<< +/Author () /CreationDate (D:20230125193703-01'00') /Creator (\(unspecified\)) /Keywords () /ModDate (D:20230125193703-01'00') /Producer (xhtml2pdf ) + /Subject () /Title () /Trapped /False +>> +endobj 10 0 obj << -/Contents 15 0 R /MediaBox [ 0 0 595.2756 841.8898 ] /Parent 13 0 R /Resources << -/Font 1 0 R /ProcSet [ /PDF /Text /ImageB /ImageC /ImageI ] ->> /Rotate 0 /Trans << - ->> - /Type /Page +/Count 1 /Kids [ 7 0 R ] /Type /Pages >> endobj 11 0 obj << -/PageMode /UseNone /Pages 13 0 R /Type /Catalog ->> -endobj -12 0 obj -<< -/Author () /CreationDate (D:20230118112254-01'00') /Creator (\(unspecified\)) /Keywords () /ModDate (D:20230118112254-01'00') /Producer (xhtml2pdf ) - /Subject () /Title () /Trapped /False ->> -endobj -13 0 obj -<< -/Count 2 /Kids [ 9 0 R 10 0 R ] /Type /Pages ->> -endobj -14 0 obj -<< -/Filter [ /ASCII85Decode /FlateDecode ] /Length 2050 +/Filter [ /ASCII85Decode /FlateDecode ] /Length 1664 >> stream -Gb!;e95iQS&AII3m&=ZNHG-ZRor0S1"=]crM,b[R?5SfFQqESpaU.P,4%iEr-'@&\A2GuN$cHeOh[I9]%Y6>35l!R2'Cu$fSA,1.S;a?K,aDp<-b1:ZmRQa9+"CuBWK::u@]ZESC4WtXci18`*>PE@&sb#j%H31"V4ApUN(dUF=9VIp.]k:anHH)Ju?uXAc@Ara93585.0?BOo\tt/N]J#IphZK%Me8kOJ7c:5r;XaZU8lNHT#n5>aQ4kkg"cYD'J4X@PcrN[aKk6IIS:6n.A#W?mA1?+m&uOAOR4il0(BAU\1JC8P)D*N&,'Y2@fPJu-iq7UT6hg\@MU;3hqS+5gZhNFqSaj'Uup!$2UG*T-bZH?4KN?l;"K6,_X*%<6]E(LIa`To;cqLlNfpG+BclJoE3B\tMY_HfC@"N)kMMS!kW%>3_PmQ:$"%cKk,FE2.PleSFV_O]@.oXKOlHMB#c'*OCooa(E5nGT\6\HhLWoSmQj\u5*Y,N7/WsFoP:6f'nJ4C3uQA[>4Z'JNKOGgZfX:u*'@M"FVUIHogF`T8cCfi$>P-GPJ#Wn--n_"<_FE),U%r&lu31>ia0';4Bno"8a:f-*C"o4D,OI6F'l+`.3L>g-Y@ckGn4td7=C?o]%Q.M#BofU?/hF9\u--LD%'_'lOjRZhHVoqT0p/b];6^B([/m7>;4_E#ueRY**+,78ikhebl:D6_>c2*j$gZ:U__%W:O#Ah7%fu2dMJO^`37p>5KIZbh-6X,N&Wqsbhr!"5rMf$[N]*o[s!Vt11GWsbujh?MJ(oG\XC\QR9q)r]/26spGelE[8gtPdQI9%']LuVY_Ch$i80Fm!1+L*r%j/=hMM6MtfSNTV?3)VGF20R]95&:+#0\YO#lCPh"l(VHR(\5p^?Tj#CaR\FU2K+9CJnZLI2@brq$iW[:[6c)M[W.rsXL?M?C\:.Ng>[\OYhDRYN\4jt`SPo1Lho%kGIa13p*%UH:JFB9I;H8VY)C%M4!O\T;IA#AIa/Va+U\!2ftQ>3:?`MC$=46`:__mp(2O9f6@R1-"MAlIaWJXcU>[WA8GGG#E=n9Tdpo'8NUnTWj-/n78BNATdr=WE\P(+CT#%l;Cr=tN_*]PVTY[1+/RQ=,o<@@i5fM8q0'%:A($.,S53a2CX1U2NIA>?fY51g9;5$,^0hD+K&XV^oG288*)8R,hP^+KFG8VWl"`XPKSHl^UsK%,]VFW;kTg"kkP:18O.endstream -endobj -15 0 obj -<< -/Filter [ /ASCII85Decode /FlateDecode ] /Length 257 ->> -stream -Gar?,c"[;G&;9ND'Qo@d^!f-ZlVWh8]En*1+^%6BrE0;25endstream +Gb!;d9i!!(&A@sBe1"!jU#"8Vc&DjiCp]i]3)L0r(bfK$Gg+lR&cY%ua7an*mEF3*7>k_mkio,4Hl3)JhY#Ta;1u.B6N1UMg8>.@>"-HXH;#P5dN3$]k_:j3o["*kFSrtT[H/!@fi(>.sZq$S#5l)VR+BOdq^Zrk4VR9Z10'"QQm=-c#j1'W^BNLo#N:1[J=\S_kQPF8!$9(NeFL=c0dmh:,puDR5g4d5q,0Z4T8Dmu8OALZM)FQDZE@dD^'+.L=2[8tl'OIh86=(uD,(uI$cKQq1,?g_ZB\mTD)\qC\rA2p_Gg)-muhETTJT!WkY_Ph'jLq``+:+K&p<[7q''$*/a*s^ee(HnFT-=R6GqJ)bHq,\Lr^9`:&qt&t,$;ke3qH9&S"NKM(Bd=ubo\nLd>*JbHpmHSM)_7mdEP>imWH$5[BXu*P(\=sP*9V8.7Y/5AP12^\,a>UO'OuPHF.Ik%"8]=E`FQ1Z0V#*b#bpCr+u,OJ>HMdq+b\^P>>!#]=nu^XfZcOendstream endobj xref -0 16 +0 12 0000000000 65535 f 0000000073 00000 n 0000000124 00000 n 0000000231 00000 n 0000004625 00000 n 0000007430 00000 n -0000018050 00000 n -0000023114 00000 n -0000023222 00000 n -0000023331 00000 n -0000023647 00000 n -0000023853 00000 n -0000023923 00000 n -0000024176 00000 n -0000024243 00000 n -0000026385 00000 n +0000007538 00000 n +0000007647 00000 n +0000007915 00000 n +0000007984 00000 n +0000008236 00000 n +0000008296 00000 n trailer << /ID -[<60f97bfa383055bdbbde112fdbbbd5d1><60f97bfa383055bdbbde112fdbbbd5d1>] +[] % ReportLab generated PDF document -- digest (http://www.reportlab.com) -/Info 12 0 R -/Root 11 0 R -/Size 16 +/Info 9 0 R +/Root 8 0 R +/Size 12 >> startxref -26733 +10052 %%EOF diff --git a/Inscription_mgt.py b/Inscription_mgt.py index f01f328..b7025cd 100644 --- a/Inscription_mgt.py +++ b/Inscription_mgt.py @@ -1187,19 +1187,72 @@ def PrintAttendeeDetail_perSession(diction): my_retrun_dict['ville'] = local_Insc_retval['ville'] my_retrun_dict['code_postal'] = local_Insc_retval['code_postal'] - my_retrun_dict['adresse'] = local_Insc_retval['adresse'] - my_retrun_dict['nom'] = local_Insc_retval['nom'] - my_retrun_dict['prenom'] = local_Insc_retval['prenom'] - my_retrun_dict['employeur'] = local_Insc_retval['employeur'] - my_retrun_dict['telephone'] = local_Insc_retval['telephone'] + my_adresse = "" + if ("adresse" in diction.keys()): + if diction['adresse']: + my_adresse = local_Insc_retval['adresse'] + my_retrun_dict['adresse'] = my_adresse - my_retrun_dict['email'] = local_Insc_retval['email'] - my_retrun_dict['modefinancement'] = local_Insc_retval['modefinancement'] - my_retrun_dict['opco'] = local_Insc_retval['opco'] - my_retrun_dict['class_internal_url'] = local_Insc_retval['class_internal_url'] - my_retrun_dict['status'] = local_Insc_retval['status'] + my_nom = "" + if ("nom" in diction.keys()): + if diction['nom']: + my_adresse = local_Insc_retval['nom'] + my_retrun_dict['nom'] = my_nom + + my_prenom = "" + if ("prenom" in diction.keys()): + if diction['prenom']: + my_prenom = local_Insc_retval['prenom'] + my_retrun_dict['prenom'] = my_prenom + + my_employeur = "" + if ("employeur" in diction.keys()): + if diction['employeur']: + my_employeur = local_Insc_retval['employeur'] + my_retrun_dict['employeur'] = my_employeur + + my_telephone = "" + if ("telephone" in diction.keys()): + if diction['telephone']: + my_telephone = local_Insc_retval['telephone'] + my_retrun_dict['telephone'] = my_telephone + + my_email = "" + if ("email" in diction.keys()): + if diction['email']: + my_email = local_Insc_retval['email'] + my_retrun_dict['email'] = my_email + + my_modefinancement = "" + if ("modefinancement" in diction.keys()): + if diction['modefinancement']: + my_modefinancement = local_Insc_retval['modefinancement'] + my_retrun_dict['modefinancement'] = my_modefinancement + + my_opco = "" + if ("opco" in diction.keys()): + if diction['opco']: + my_opco = local_Insc_retval['opco'] + my_retrun_dict['opco'] = my_opco + + my_class_internal_url = "" + if ("class_internal_url" in diction.keys()): + if diction['class_internal_url']: + my_class_internal_url = local_Insc_retval['class_internal_url'] + my_retrun_dict['class_internal_url'] = my_class_internal_url + + my_status = "" + if ("status" in diction.keys()): + if diction['status']: + my_status = local_Insc_retval['status'] + my_retrun_dict['status'] = my_status + + my_price = "" + if ("price" in diction.keys()): + if diction['price']: + my_price = local_Insc_retval['price'] + my_retrun_dict['price'] = my_price - my_retrun_dict['price'] = local_Insc_retval['price'] if ("inscription_validation_date" in local_Insc_retval.keys()): my_retrun_dict['inscription_validation_date'] = local_Insc_retval['inscription_validation_date'] @@ -1260,10 +1313,17 @@ def PrintAttendeeDetail_perSession(diction): if tmp_val['presentiel']: my_retrun_dict['presentiel'] = tmp_val['presentiel'] + my_partner = "" + if ("institut_formation" in local_formation.keys()): + if local_formation['institut_formation']: + my_partner = local_formation['institut_formation'] + my_retrun_dict['partner'] = my_partner - - my_retrun_dict['partner'] = local_formation['institut_formation'] - my_retrun_dict['img_url'] = local_formation['img_url'] + my_img_url = "" + if ("img_url" in local_formation.keys()): + if local_formation['img_url']: + my_img_url = local_formation['img_url'] + my_retrun_dict['img_url'] = my_img_url diff --git a/Log/log_file.log b/Log/log_file.log index 8f796b3..c5af8e4 100644 --- a/Log/log_file.log +++ b/Log/log_file.log @@ -1023926,3 +1023926,1120 @@ INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/custome DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MU7aUAbmaEugrFTHmfr14GS",\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": "carte avec 3DS",\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": 11,\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": 1674647782,\n "customer": "cus_NDWmBTkRCuW8J1",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods"\n}' message='API response body' DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_HDDlhOBhUIxOPP message='Dashboard link for request' INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 13:03:19] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +DEBUG:filelock:Attempting to acquire lock 2866225249488 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2866225249488 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 2866225249488 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2866225249488 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Starting optional update of built-in blacklist. +DEBUG:filelock:Attempting to acquire lock 2866225366672 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2866225366672 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Not updating because file is fresh enough. +DEBUG:filelock:Attempting to release lock 2866225366672 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2866225366672 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Attempting to acquire lock 2866152141136 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2866152141136 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 2866152141136 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2866152141136 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +INFO:root:2023-01-25 18:32:40.474380 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-01-25 18:32:40.475377 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-01-25 18:32:40.475377 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-01-25 18:32:40.475377 : ++ FLASK PORT 5001 ++ +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 +DEBUG:filelock:Attempting to acquire lock 2261174993040 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2261174993040 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 2261174993040 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2261174993040 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Starting optional update of built-in blacklist. +DEBUG:filelock:Attempting to acquire lock 2261175058896 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2261175058896 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Not updating because file is fresh enough. +DEBUG:filelock:Attempting to release lock 2261175058896 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2261175058896 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Attempting to acquire lock 2261176261328 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +INFO:root:2023-01-25 18:32:49.123210 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-01-25 18:32:49.123210 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-01-25 18:32:49.124012 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-01-25 18:32:49.124012 : ++ FLASK PORT 5001 ++ +DEBUG:filelock:Lock 2261176261328 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 2261176261328 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2261176261328 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 127-713-359 +INFO:root:2023-01-25 18:35:09.522009 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-25 18:35:09.537002 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-25 18:35:09.537002 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 18:35:09] "POST /myclass/api/get_List_domaine_formation/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 18:35:09] "POST /myclass/api/Get_Suggested_Fr_Cities/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 18:35:09] "POST /myclass/api/Get_Suggested_Word/ HTTP/1.1" 200 - +INFO:root:2023-01-25 18:35:10.588413 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-25 18:35:10.589927 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 18:35:10] "POST /myclass/api/get_all_class/ HTTP/1.1" 200 - +INFO:root:2023-01-25 18:35:11.217423 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-25 18:35:11.220417 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 18:35:11] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:root:2023-01-25 18:35:11.223413 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 18:35:11] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2023-01-25 18:35:11.228418 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 18:35:11] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:root:2023-01-25 18:35:11.232412 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 18:35:11] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:root:2023-01-25 18:35:11.236412 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-25 18:35:11.238419 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 18:35:11] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2023-01-25 18:35:11.243417 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 18:35:11] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:root:2023-01-25 18:35:11.248413 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 18:35:11] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2023-01-25 18:35:11.252415 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-25 18:35:11.256415 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 18:35:11] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 18:35:11] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:root:2023-01-25 18:35:11.260412 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 18:35:11] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:root:2023-01-25 18:35:11.264417 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 18:35:11] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2023-01-25 18:35:11.270414 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 18:35:11] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 18:35:11] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:root:2023-01-25 18:35:11.273413 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-25 18:35:11.278425 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 18:35:11] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:root:2023-01-25 18:35:11.281432 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 18:35:11] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2023-01-25 18:35:11.285430 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-25 18:35:11.289426 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 18:35:11] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 18:35:11] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2023-01-25 18:35:11.293778 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 18:35:11] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 18:35:11] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 18:35:11] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2023-01-25 18:36:49.666928 : Security check : IP adresse '127.0.0.1' connected +INFO:root: TMP = 0 +INFO:root: TMP = 0 +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 18:36:51] "POST /myclass/api/add_partner_account/ HTTP/1.1" 200 - +INFO:root:2023-01-25 18:37:25.675420 : Security check : IP adresse '127.0.0.1' connected +INFO:stripe:message='Request to Stripe api' method=post path=https://api.stripe.com/v1/customers +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=email=mysy1000formation%40gmail.com&name=1000+Formation&address[city]=&address[country]= +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/customers response_code=200 +DEBUG:stripe:body='{\n "id": "cus_NEgH4TwjrPoq23",\n "object": "customer",\n "address": {\n "city": "",\n "country": "",\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "balance": 0,\n "created": 1674668247,\n "currency": null,\n "default_currency": null,\n "default_source": null,\n "delinquent": false,\n "description": null,\n "discount": null,\n "email": "mysy1000formation@gmail.com",\n "invoice_prefix": "294F343A",\n "invoice_settings": {\n "custom_fields": null,\n "default_payment_method": null,\n "footer": null,\n "rendering_options": null\n },\n "livemode": false,\n "metadata": {},\n "name": "1000 Formation",\n "phone": null,\n "preferred_locales": [],\n "shipping": null,\n "tax_exempt": "none",\n "test_clock": null\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_qeahmPRmuya7qk message='Dashboard link for request' +INFO:root:2023-01-25 18:37:27.034802 : create_customer - le partenaire mysy1000formation@gmail.com a été correctement créé dans Stripe. Son Id = cus_NEgH4TwjrPoq23 +INFO:root:2023-01-25 18:37:27.045786 : La modif a bien ete faite Ajout Token OK, =63d168b1da18f633b8053b6a +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 18:37:27] "GET /myclass/api/valide_partnair_account/63d168b1da18f633b8053b6a HTTP/1.1" 302 - +INFO:root:2023-01-25 18:41:12.766754 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-25 18:41:12.771769 : partner_login Connexion partnair mysy1000formation@gmail.com : OK, Date : 2023-01-25 18:41:12.767771 , _id = 63d168b1da18f633b8053b6a +INFO:root:2023-01-25 18:41:12.776774 : partner_login Connexion partener_token : OK , _id = 63d169b8a18e0689a1336d32 +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 18:41:12] "POST /myclass/api/partner_login/ HTTP/1.1" 200 - +INFO:root:2023-01-25 18:41:13.008599 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-25 18:41:13.011598 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 18:41:13] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-01-25 18:41:13.016130 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-25 18:41:13.021310 : Connexion du partner recid = a97b61d78f194cd37d3e18ed634c3f623de92d3658f7803691 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 18:41:13] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 18:41:13] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-01-25 18:41:13.286459 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 18:41:13] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 - +INFO:root:2023-01-25 18:41:16.801257 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-25 18:41:16.804258 : 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_NEgH4TwjrPoq23/payment_methods?type=card +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card +INFO:root:2023-01-25 18:41:16.811261 : Connexion du partner recid = a97b61d78f194cd37d3e18ed634c3f623de92d3658f7803691 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 18:41:16] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/customers/cus_NEgH4TwjrPoq23/payment_methods?type=card response_code=200 +DEBUG:stripe:body='{\n "object": "list",\n "data": [],\n "has_more": false,\n "url": "/v1/customers/cus_NEgH4TwjrPoq23/payment_methods"\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_GITFCewPOi3eHK message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 18:41:17] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-01-25 18:42:28.832253 : Security check : IP adresse '127.0.0.1' connected +INFO:stripe:message='Request to Stripe api' method=post path=https://api.stripe.com/v1/payment_methods +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card&card[number]=4000000000003220&card[exp_month]=10&card[exp_year]=23&card[cvc]=123&billing_details[name]=1000Ftion+3DS +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/payment_methods response_code=200 +DEBUG:stripe:body='{\n "id": "pm_1MUCzSAbmaEugrFTdtIpjOrW",\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": "1000Ftion 3DS",\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": "IE",\n "exp_month": 10,\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": 1674668550,\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_kcy5XJl8apRqD5 message='Dashboard link for request' +INFO:stripe:message='Request to Stripe api' method=post path=https://api.stripe.com/v1/payment_methods/pm_1MUCzSAbmaEugrFTdtIpjOrW/attach +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=customer=cus_NEgH4TwjrPoq23 +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/payment_methods/pm_1MUCzSAbmaEugrFTdtIpjOrW/attach response_code=200 +DEBUG:stripe:body='{\n "id": "pm_1MUCzSAbmaEugrFTdtIpjOrW",\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": "1000Ftion 3DS",\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": 10,\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": 1674668550,\n "customer": "cus_NEgH4TwjrPoq23",\n "livemode": false,\n "metadata": {},\n "type": "card"\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_IvicnXS1xqgFck message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 18:42:30] "POST /myclass/api/add_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-01-25 18:42:31.342667 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-25 18:42:31.345669 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-25 18:42:31.347668 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 18:42:31] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-01-25 18:42:31.352673 : Connexion du partner recid = a97b61d78f194cd37d3e18ed634c3f623de92d3658f7803691 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 18:42:31] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 18:42:31] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-01-25 18:42:31.846610 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 18:42:31] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 - +INFO:root:2023-01-25 18:42:39.029324 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-25 18:42:39.033316 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 18:42:39] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-01-25 18:42:39.036318 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-25 18:42:39.039314 : Connexion du partner recid = a97b61d78f194cd37d3e18ed634c3f623de92d3658f7803691 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 18:42:39] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 18:42:39] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-01-25 18:42:39.503448 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 18:42:39] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 - +INFO:root:2023-01-25 18:42:41.280866 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-25 18:42:41.282869 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-25 18:42:41.285861 : Connexion du partner recid = a97b61d78f194cd37d3e18ed634c3f623de92d3658f7803691 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 18:42: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_NEgH4TwjrPoq23/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_NEgH4TwjrPoq23/payment_methods?type=card response_code=200 +DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MUCzSAbmaEugrFTdtIpjOrW",\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": "1000Ftion 3DS",\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": 10,\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": 1674668550,\n "customer": "cus_NEgH4TwjrPoq23",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NEgH4TwjrPoq23/payment_methods"\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_IN1ojl4JTFy3fk message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 18:42:41] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-01-25 18:42:49.101755 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-25 18:42:49.103814 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-25 18:42:49.106996 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-25 18:42:49.110022 : Connexion du partner recid = a97b61d78f194cd37d3e18ed634c3f623de92d3658f7803691 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 18:42:49] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 18:42:49] "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_NEgH4TwjrPoq23/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_NEgH4TwjrPoq23/payment_methods?type=card response_code=200 +DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MUCzSAbmaEugrFTdtIpjOrW",\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": "1000Ftion 3DS",\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": 10,\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": 1674668550,\n "customer": "cus_NEgH4TwjrPoq23",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NEgH4TwjrPoq23/payment_methods"\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_AcwQGnEbmUyFrM message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 18:42:49] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-01-25 18:42:49.505603 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-25 18:42:49.509598 : Connexion du partner recid = a97b61d78f194cd37d3e18ed634c3f623de92d3658f7803691 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 18:42:49] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:root:2023-01-25 18:43:10.972752 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-25 18:43:10.982747 : update_partner_accountLe partenaire a bien ete mise à jour =63d168b1da18f633b8053b6a +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 18:43:10] "POST /myclass/api/update_partner_account/ HTTP/1.1" 200 - +INFO:root:2023-01-25 18:43:27.612240 : Security check : IP adresse '127.0.0.1' connected +INFO:stripe:message='Request to Stripe api' method=post path=https://api.stripe.com/v1/subscriptions +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=customer=cus_NEgH4TwjrPoq23&items[0][price]=price_1MT3FmAbmaEugrFTZ5vyJRcZ&items[0][quantity]=3&payment_behavior=default_incomplete&expand[0]=latest_invoice.payment_intent +INFO:root:2023-01-25 18:43:27.614391 : Security check : IP adresse '127.0.0.1' connected +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\t1000 Formation
\n\t\t\t\t\t2, place des magnolias
\n\t\t\t\t\t77680 RB
\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_231000141\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: 25/01/2023 Date échéance : 25/01/2023
\n\n\t\t\t\t\n\t\t\t\t\tOrigine : MySy_005kKv\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
Gold390270.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: 270.0
    TVA 20% : 54.0
    Montant TTC : 324.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_231000141.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\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\__dummy__' +DEBUG:xhtml2pdf:URLParts: (ParseResult(scheme='https', netloc='img.mysy-training.com', path='/MYSY-LOGO-BLUE.png', params='', query='', fragment=''), 'https') +DEBUG:xhtml2pdf:Parsing img tag, src: +DEBUG:xhtml2pdf:Attrs: {'src': , 'width': 75.0, 'height': None, 'align': None, 'id': None} +DEBUG:xhtml2pdf:Sending request for https://img.mysy-training.com/MYSY-LOGO-BLUE.png with httplib +DEBUG:xhtml2pdf:Uri parsed: https://img.mysy-training.com/MYSY-LOGO-BLUE.png +DEBUG:PIL.PngImagePlugin:STREAM b'IHDR' 16 13 +DEBUG:PIL.PngImagePlugin:STREAM b'tEXt' 41 25 +DEBUG:PIL.PngImagePlugin:STREAM b'IDAT' 78 6645 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col widths: [None, None] +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 0 has width 0.0 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 1 has width 0.0 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 2 has width 0.0 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 3 has width 0.0 +DEBUG:xhtml2pdf:Col widths: [None, None, None, None] +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col widths: [None, None, None, None] +DEBUG:PIL.PngImagePlugin:STREAM b'IHDR' 16 13 +DEBUG:PIL.PngImagePlugin:STREAM b'tEXt' 41 25 +DEBUG:PIL.PngImagePlugin:STREAM b'IDAT' 78 6645 +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/subscriptions response_code=200 +DEBUG:stripe:body='{\n "id": "sub_1MUD0PAbmaEugrFTrDcEoAMw",\n "object": "subscription",\n "application": null,\n "application_fee_percent": null,\n "automatic_tax": {\n "enabled": false\n },\n "billing_cycle_anchor": 1674668609,\n "billing_thresholds": null,\n "cancel_at": null,\n "cancel_at_period_end": false,\n "canceled_at": null,\n "collection_method": "charge_automatically",\n "created": 1674668609,\n "currency": "eur",\n "current_period_end": 1677347009,\n "current_period_start": 1674668609,\n "customer": "cus_NEgH4TwjrPoq23",\n "days_until_due": null,\n "default_payment_method": null,\n "default_source": null,\n "default_tax_rates": [],\n "description": null,\n "discount": null,\n "ended_at": null,\n "items": {\n "object": "list",\n "data": [\n {\n "id": "si_NEgNsK2YAKp92f",\n "object": "subscription_item",\n "billing_thresholds": null,\n "created": 1674668610,\n "metadata": {},\n "plan": {\n "id": "price_1MT3FmAbmaEugrFTZ5vyJRcZ",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 9000,\n "amount_decimal": "9000",\n "billing_scheme": "per_unit",\n "created": 1674392794,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "price": {\n "id": "price_1MT3FmAbmaEugrFTZ5vyJRcZ",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1674392794,\n "currency": "eur",\n "custom_unit_amount": null,\n "livemode": false,\n "lookup_key": null,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "recurring": {\n "aggregate_usage": null,\n "interval": "month",\n "interval_count": 1,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "tax_behavior": "exclusive",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 9000,\n "unit_amount_decimal": "9000"\n },\n "quantity": 3,\n "subscription": "sub_1MUD0PAbmaEugrFTrDcEoAMw",\n "tax_rates": []\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/subscription_items?subscription=sub_1MUD0PAbmaEugrFTrDcEoAMw"\n },\n "latest_invoice": {\n "id": "in_1MUD0PAbmaEugrFTx7AQNmJ0",\n "object": "invoice",\n "account_country": "FR",\n "account_name": "MYSY Training Technology ",\n "account_tax_ids": null,\n "amount_due": 27000,\n "amount_paid": 0,\n "amount_remaining": 27000,\n "application": null,\n "application_fee_amount": null,\n "attempt_count": 0,\n "attempted": false,\n "auto_advance": false,\n "automatic_tax": {\n "enabled": false,\n "status": null\n },\n "billing_reason": "subscription_create",\n "charge": null,\n "collection_method": "charge_automatically",\n "created": 1674668609,\n "currency": "eur",\n "custom_fields": null,\n "customer": "cus_NEgH4TwjrPoq23",\n "customer_address": {\n "city": "",\n "country": "",\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "customer_email": "mysy1000formation@gmail.com",\n "customer_name": "1000 Formation",\n "customer_phone": null,\n "customer_shipping": null,\n "customer_tax_exempt": "none",\n "customer_tax_ids": [],\n "default_payment_method": null,\n "default_source": null,\n "default_tax_rates": [],\n "description": null,\n "discount": null,\n "discounts": [],\n "due_date": null,\n "ending_balance": 0,\n "footer": null,\n "from_invoice": null,\n "hosted_invoice_url": "https://invoice.stripe.com/i/acct_1LUUfAAbmaEugrFT/test_YWNjdF8xTFVVZkFBYm1hRXVnckZULF9ORWdOQVF6M0hlajFXOHBQdFJ0NUExcldYbmlxYkdDLDY1MjA5NDEw0200J8mdSWPh?s=ap",\n "invoice_pdf": "https://pay.stripe.com/invoice/acct_1LUUfAAbmaEugrFT/test_YWNjdF8xTFVVZkFBYm1hRXVnckZULF9ORWdOQVF6M0hlajFXOHBQdFJ0NUExcldYbmlxYkdDLDY1MjA5NDEw0200J8mdSWPh/pdf?s=ap",\n "last_finalization_error": null,\n "latest_revision": null,\n "lines": {\n "object": "list",\n "data": [\n {\n "id": "il_1MUD0PAbmaEugrFTVynQBRHl",\n "object": "line_item",\n "amount": 27000,\n "amount_excluding_tax": 27000,\n "currency": "eur",\n "description": "3 × DEV_SPACK_GOLD (at €90.00 / month)",\n "discount_amounts": [],\n "discountable": true,\n "discounts": [],\n "livemode": false,\n "metadata": {},\n "period": {\n "end": 1677347009,\n "start": 1674668609\n },\n "plan": {\n "id": "price_1MT3FmAbmaEugrFTZ5vyJRcZ",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 9000,\n "amount_decimal": "9000",\n "billing_scheme": "per_unit",\n "created": 1674392794,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "price": {\n "id": "price_1MT3FmAbmaEugrFTZ5vyJRcZ",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1674392794,\n "currency": "eur",\n "custom_unit_amount": null,\n "livemode": false,\n "lookup_key": null,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "recurring": {\n "aggregate_usage": null,\n "interval": "month",\n "interval_count": 1,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "tax_behavior": "exclusive",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 9000,\n "unit_amount_decimal": "9000"\n },\n "proration": false,\n "proration_details": {\n "credited_items": null\n },\n "quantity": 3,\n "subscription": "sub_1MUD0PAbmaEugrFTrDcEoAMw",\n "subscription_item": "si_NEgNsK2YAKp92f",\n "tax_amounts": [],\n "tax_rates": [],\n "type": "subscription",\n "unit_amount_excluding_tax": "9000"\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/invoices/in_1MUD0PAbmaEugrFTx7AQNmJ0/lines"\n },\n "livemode": false,\n "metadata": {},\n "next_payment_attempt": null,\n "number": "E58073E6-0528",\n "on_behalf_of": null,\n "paid": false,\n "paid_out_of_band": false,\n "payment_intent": {\n "id": "pi_3MUD0QAbmaEugrFT0olBta11",\n "object": "payment_intent",\n "amount": 27000,\n "amount_capturable": 0,\n "amount_details": {\n "tip": {}\n },\n "amount_received": 0,\n "application": null,\n "application_fee_amount": null,\n "automatic_payment_methods": null,\n "canceled_at": null,\n "cancellation_reason": null,\n "capture_method": "automatic",\n "charges": {\n "object": "list",\n "data": [],\n "has_more": false,\n "total_count": 0,\n "url": "/v1/charges?payment_intent=pi_3MUD0QAbmaEugrFT0olBta11"\n },\n "client_secret": "pi_3MUD0QAbmaEugrFT0olBta11_secret_mHcNZTHeZP5UBijCVj1kmOF7l",\n "confirmation_method": "automatic",\n "created": 1674668610,\n "currency": "eur",\n "customer": "cus_NEgH4TwjrPoq23",\n "description": "Subscription creation",\n "invoice": "in_1MUD0PAbmaEugrFTx7AQNmJ0",\n "last_payment_error": null,\n "latest_charge": null,\n "livemode": false,\n "metadata": {},\n "next_action": null,\n "on_behalf_of": null,\n "payment_method": null,\n "payment_method_options": {\n "card": {\n "installments": null,\n "mandate_options": null,\n "network": null,\n "request_three_d_secure": "automatic"\n },\n "sepa_debit": {}\n },\n "payment_method_types": [\n "card",\n "sepa_debit"\n ],\n "processing": null,\n "receipt_email": null,\n "review": null,\n "setup_future_usage": "off_session",\n "shipping": null,\n "source": null,\n "statement_descriptor": null,\n "statement_descriptor_suffix": null,\n "status": "requires_payment_method",\n "transfer_data": null,\n "transfer_group": null\n },\n "payment_settings": {\n "default_mandate": null,\n "payment_method_options": null,\n "payment_method_types": null\n },\n "period_end": 1674668609,\n "period_start": 1674668609,\n "post_payment_credit_notes_amount": 0,\n "pre_payment_credit_notes_amount": 0,\n "quote": null,\n "receipt_number": null,\n "rendering_options": null,\n "starting_balance": 0,\n "statement_descriptor": null,\n "status": "open",\n "status_transitions": {\n "finalized_at": 1674668609,\n "marked_uncollectible_at": null,\n "paid_at": null,\n "voided_at": null\n },\n "subscription": "sub_1MUD0PAbmaEugrFTrDcEoAMw",\n "subtotal": 27000,\n "subtotal_excluding_tax": 27000,\n "tax": null,\n "test_clock": null,\n "total": 27000,\n "total_discount_amounts": [],\n "total_excluding_tax": 27000,\n "total_tax_amounts": [],\n "transfer_data": null,\n "webhooks_delivered_at": 1674668609\n },\n "livemode": false,\n "metadata": {},\n "next_pending_invoice_item_invoice": null,\n "on_behalf_of": null,\n "pause_collection": null,\n "payment_settings": {\n "payment_method_options": null,\n "payment_method_types": null,\n "save_default_payment_method": "off"\n },\n "pending_invoice_item_interval": null,\n "pending_setup_intent": null,\n "pending_update": null,\n "plan": {\n "id": "price_1MT3FmAbmaEugrFTZ5vyJRcZ",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 9000,\n "amount_decimal": "9000",\n "billing_scheme": "per_unit",\n "created": 1674392794,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "quantity": 3,\n "schedule": null,\n "start_date": 1674668609,\n "status": "incomplete",\n "test_clock": null,\n "transfer_data": null,\n "trial_end": null,\n "trial_start": null\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_WivK2L8KaB9B3e message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 18:43:29] "POST /myclass/api/create-subscription/ HTTP/1.1" 200 - +DEBUG:paramiko.transport:starting thread (client mode): 0x739b6290 +DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_2.12.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_231000141.pdf', 'wb') +DEBUG:paramiko.transport.sftp:[chan 0] open(b'/var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_231000141.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_231000141.pdf') +INFO:root:2023-01-25 18:43:30.694426 : convertHtmlToPdf DEPLACEMENT DE ./Invoices/invoice_FACT_231000141.pdf VERS /var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_231000141.pdf EST OKKKK +INFO:paramiko.transport.sftp:[chan 0] sftp session closed. +DEBUG:paramiko.transport:[chan 0] EOF sent (0) +INFO:root:2023-01-25 18:43:30.695438 : Impression facture N° FACT_231000141 OK +DEBUG:paramiko.transport:EOF in transport thread +INFO:root:2023-01-25 18:43:30.718447 : UpdataPartnerRankingClass - Le RANKING de 0 ont été mise à jour avec la valeur {'display_rank': '30', 'date_update': '2023-01-25 18:43:30.703429'} +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 18:43:30] "POST /myclass/api/createOrder/ HTTP/1.1" 200 - +INFO:root:2023-01-25 18:43:30.828709 : Security check : IP adresse '127.0.0.1' connected +INFO:stripe:message='Request to Stripe api' method=post path=https://api.stripe.com/v1/payment_intents/pi_3MUD0QAbmaEugrFT0olBta11/confirm +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=payment_method=pm_1MUCzSAbmaEugrFTdtIpjOrW&return_url=http%3A%2F%2Flocalhost%3A3009%2FOrderConfirmation_3DS%2FMySy_005kKv%2FGold +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/payment_intents/pi_3MUD0QAbmaEugrFT0olBta11/confirm response_code=200 +DEBUG:stripe:body='{\n "id": "pi_3MUD0QAbmaEugrFT0olBta11",\n "object": "payment_intent",\n "amount": 27000,\n "amount_capturable": 0,\n "amount_details": {\n "tip": {}\n },\n "amount_received": 0,\n "application": null,\n "application_fee_amount": null,\n "automatic_payment_methods": null,\n "canceled_at": null,\n "cancellation_reason": null,\n "capture_method": "automatic",\n "charges": {\n "object": "list",\n "data": [],\n "has_more": false,\n "total_count": 0,\n "url": "/v1/charges?payment_intent=pi_3MUD0QAbmaEugrFT0olBta11"\n },\n "client_secret": "pi_3MUD0QAbmaEugrFT0olBta11_secret_mHcNZTHeZP5UBijCVj1kmOF7l",\n "confirmation_method": "automatic",\n "created": 1674668610,\n "currency": "eur",\n "customer": "cus_NEgH4TwjrPoq23",\n "description": "Subscription creation",\n "invoice": "in_1MUD0PAbmaEugrFTx7AQNmJ0",\n "last_payment_error": null,\n "latest_charge": null,\n "livemode": false,\n "metadata": {},\n "next_action": {\n "redirect_to_url": {\n "return_url": "http://localhost:3009/OrderConfirmation_3DS/MySy_005kKv/Gold",\n "url": "https://hooks.stripe.com/3d_secure_2/hosted?merchant=acct_1LUUfAAbmaEugrFT&payment_intent=pi_3MUD0QAbmaEugrFT0olBta11&payment_intent_client_secret=pi_3MUD0QAbmaEugrFT0olBta11_secret_mHcNZTHeZP5UBijCVj1kmOF7l&publishable_key=pk_test_51LUUfAAbmaEugrFTI25uZBD3IFjbtaL6jUfRV83diDf7nco8worna4NGKhMHbPP71WCwT5EHFRdDNatxPrJWwgZ300kgH5EO4p&source=src_1MUD0TAbmaEugrFTwlYmXeeL"\n },\n "type": "redirect_to_url"\n },\n "on_behalf_of": null,\n "payment_method": "pm_1MUCzSAbmaEugrFTdtIpjOrW",\n "payment_method_options": {\n "card": {\n "installments": null,\n "mandate_options": null,\n "network": null,\n "request_three_d_secure": "automatic"\n },\n "sepa_debit": {}\n },\n "payment_method_types": [\n "card",\n "sepa_debit"\n ],\n "processing": null,\n "receipt_email": null,\n "review": null,\n "setup_future_usage": "off_session",\n "shipping": null,\n "source": null,\n "statement_descriptor": null,\n "statement_descriptor_suffix": null,\n "status": "requires_action",\n "transfer_data": null,\n "transfer_group": null\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_MB8Rr35iU9R5HW message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 18:43:31] "POST /myclass/api/confirm_payment/ HTTP/1.1" 200 - +INFO:root:2023-01-25 18:43:44.760161 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 18:43:44] "POST /myclass/api/CheckSalesOrder/ HTTP/1.1" 200 - +INFO:root:2023-01-25 18:43:44.830435 : Security check : IP adresse '127.0.0.1' connected +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/payment_intents/pi_3MUD0QAbmaEugrFT0olBta11 +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data= +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/payment_intents/pi_3MUD0QAbmaEugrFT0olBta11 response_code=200 +DEBUG:stripe:body='{\n "id": "pi_3MUD0QAbmaEugrFT0olBta11",\n "object": "payment_intent",\n "amount": 27000,\n "amount_capturable": 0,\n "amount_details": {\n "tip": {}\n },\n "amount_received": 27000,\n "application": null,\n "application_fee_amount": null,\n "automatic_payment_methods": null,\n "canceled_at": null,\n "cancellation_reason": null,\n "capture_method": "automatic",\n "charges": {\n "object": "list",\n "data": [\n {\n "id": "ch_3MUD0QAbmaEugrFT0PQBFru6",\n "object": "charge",\n "amount": 27000,\n "amount_captured": 27000,\n "amount_refunded": 0,\n "application": null,\n "application_fee": null,\n "application_fee_amount": null,\n "balance_transaction": "txn_3MUD0QAbmaEugrFT0UEuoHL6",\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": "1000Ftion 3DS",\n "phone": null\n },\n "calculated_statement_descriptor": "WWW.MYSY-TRAINING.COM",\n "captured": true,\n "created": 1674668623,\n "currency": "eur",\n "customer": "cus_NEgH4TwjrPoq23",\n "description": "Subscription creation",\n "destination": null,\n "dispute": null,\n "disputed": false,\n "failure_balance_transaction": null,\n "failure_code": null,\n "failure_message": null,\n "fraud_details": {},\n "invoice": "in_1MUD0PAbmaEugrFTx7AQNmJ0",\n "livemode": false,\n "metadata": {},\n "on_behalf_of": null,\n "order": null,\n "outcome": {\n "network_status": "approved_by_network",\n "reason": null,\n "risk_level": "normal",\n "risk_score": 22,\n "seller_message": "Payment complete.",\n "type": "authorized"\n },\n "paid": true,\n "payment_intent": "pi_3MUD0QAbmaEugrFT0olBta11",\n "payment_method": "pm_1MUCzSAbmaEugrFTdtIpjOrW",\n "payment_method_details": {\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "IE",\n "exp_month": 10,\n "exp_year": 2023,\n "fingerprint": "HS92xLRWsDeuSLhN",\n "funding": "credit",\n "installments": null,\n "last4": "3220",\n "mandate": null,\n "network": "visa",\n "three_d_secure": {\n "authentication_flow": "challenge",\n "result": "authenticated",\n "result_reason": null,\n "version": "2.1.0"\n },\n "wallet": null\n },\n "type": "card"\n },\n "receipt_email": null,\n "receipt_number": null,\n "receipt_url": "https://pay.stripe.com/receipts/invoices/CAcaFwoVYWNjdF8xTFVVZkFBYm1hRXVnckZUKNLUxZ4GMgaAy2kNz746LBZlYYO6PdwWt9LUyK5KB8tEaq35R07jy8KtiN_kNKxmLbXZBzFhi6erhNXz?s=ap",\n "refunded": false,\n "refunds": {\n "object": "list",\n "data": [],\n "has_more": false,\n "total_count": 0,\n "url": "/v1/charges/ch_3MUD0QAbmaEugrFT0PQBFru6/refunds"\n },\n "review": null,\n "shipping": null,\n "source": null,\n "source_transfer": null,\n "statement_descriptor": null,\n "statement_descriptor_suffix": null,\n "status": "succeeded",\n "transfer_data": null,\n "transfer_group": null\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/charges?payment_intent=pi_3MUD0QAbmaEugrFT0olBta11"\n },\n "client_secret": "pi_3MUD0QAbmaEugrFT0olBta11_secret_mHcNZTHeZP5UBijCVj1kmOF7l",\n "confirmation_method": "automatic",\n "created": 1674668610,\n "currency": "eur",\n "customer": "cus_NEgH4TwjrPoq23",\n "description": "Subscription creation",\n "invoice": "in_1MUD0PAbmaEugrFTx7AQNmJ0",\n "last_payment_error": null,\n "latest_charge": "ch_3MUD0QAbmaEugrFT0PQBFru6",\n "livemode": false,\n "metadata": {},\n "next_action": null,\n "on_behalf_of": null,\n "payment_method": "pm_1MUCzSAbmaEugrFTdtIpjOrW",\n "payment_method_options": {\n "card": {\n "installments": null,\n "mandate_options": null,\n "network": null,\n "request_three_d_secure": "automatic"\n },\n "sepa_debit": {}\n },\n "payment_method_types": [\n "card",\n "sepa_debit"\n ],\n "processing": null,\n "receipt_email": null,\n "review": null,\n "setup_future_usage": "off_session",\n "shipping": null,\n "source": null,\n "statement_descriptor": null,\n "statement_descriptor_suffix": null,\n "status": "succeeded",\n "transfer_data": null,\n "transfer_group": null\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_Gpy2MRL7hJ7Hgw message='Dashboard link for request' +INFO:root:2023-01-25 18:43:45.258328 : payment_retrieve_status le Payement pi_3MUD0QAbmaEugrFT0olBta11 est validé +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 18:43:45] "POST /myclass/api/payment_retrieve_status/ HTTP/1.1" 200 - +INFO:root:2023-01-25 18:43:58.701942 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-25 18:43:58.704944 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-25 18:43:58.706943 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 18:43:58] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-01-25 18:43:58.712954 : Connexion du partner recid = a97b61d78f194cd37d3e18ed634c3f623de92d3658f7803691 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 18:43:58] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 18:43:58] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-01-25 18:43:59.213059 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 18:43:59] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 - +INFO:root:2023-01-25 19:01:28.929850 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-25 19:01:29.015381 : add_class -no such item for Cursor instance - ERRORRRR AT Line : 488 +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 19:01:29] "POST /myclass/api/add_class_mass/ HTTP/1.1" 200 - +INFO:root:2023-01-25 19:03:48.387143 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-25 19:03:48.420709 : add_class -no such item for Cursor instance - ERRORRRR AT Line : 488 +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 19:03:48] "POST /myclass/api/add_class_mass/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\class_mgt.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:filelock:Attempting to acquire lock 2161250521104 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2161250521104 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 2161250521104 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2161250521104 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Starting optional update of built-in blacklist. +DEBUG:filelock:Attempting to acquire lock 2161250599376 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2161250599376 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Not updating because file is fresh enough. +DEBUG:filelock:Attempting to release lock 2161250599376 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2161250599376 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Attempting to acquire lock 2161250599504 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2161250599504 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 2161250599504 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2161250599504 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +INFO:root:2023-01-25 19:05:27.618324 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-01-25 19:05:27.619319 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-01-25 19:05:27.619319 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-01-25 19:05:27.619319 : ++ FLASK PORT 5001 ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 127-713-359 +INFO:root:2023-01-25 19:05:27.978173 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-25 19:05:27.981161 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-25 19:05:27.984181 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-25 19:05:27.987180 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 19:05:27] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-01-25 19:05:27.993008 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-25 19:05:27.996055 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 19:05:27] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-01-25 19:05:28.000578 : Connexion du partner recid = a97b61d78f194cd37d3e18ed634c3f623de92d3658f7803691 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 19:05:28] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 19:05:28] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-01-25 19:05:28.007587 : Connexion du partner recid = a97b61d78f194cd37d3e18ed634c3f623de92d3658f7803691 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 19:05:28] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 19:05:28] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-01-25 19:05:28.272061 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 19:05:28] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 - +INFO:root:2023-01-25 19:05:32.949465 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-25 19:05:32.952467 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-25 19:05:32.954466 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 19:05:32] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-01-25 19:05:32.959467 : Connexion du partner recid = a97b61d78f194cd37d3e18ed634c3f623de92d3658f7803691 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 19:05:32] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 19:05:32] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-01-25 19:05:33.408653 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 19:05:33] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 - +INFO:root:2023-01-25 19:05:41.596757 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-25 19:05:42.545253 : add_class -no such item for Cursor instance - ERRORRRR AT Line : 489 +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 19:05:42] "POST /myclass/api/add_class_mass/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\class_mgt.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:filelock:Attempting to acquire lock 1873000123792 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1873000123792 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 1873000123792 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1873000123792 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Starting optional update of built-in blacklist. +DEBUG:filelock:Attempting to acquire lock 1873000202448 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1873000202448 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Not updating because file is fresh enough. +DEBUG:filelock:Attempting to release lock 1873000202448 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1873000202448 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Attempting to acquire lock 1873000606224 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1873000606224 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +INFO:root:2023-01-25 19:06:47.325303 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-01-25 19:06:47.325303 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-01-25 19:06:47.325303 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-01-25 19:06:47.325303 : ++ FLASK PORT 5001 ++ +DEBUG:filelock:Attempting to release lock 1873000606224 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1873000606224 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 127-713-359 +INFO:root:2023-01-25 19:06:55.475887 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-25 19:06:55.546098 : external_code = MYSY_10021 ==> TECHNIQUE DE VENTE +INFO:root:2023-01-25 19:06:56.884709 : La formation indexée (champ title) =63d16fbfa18e0689a13375bd +INFO:root:2023-01-25 19:06:56.884709 : 1 ont été indexes => title +INFO:root:2023-01-25 19:06:56.895477 : 0 ont été indexes ==> keyword +INFO:root:2023-01-25 19:06:56.943467 : external_code = MYSY_10022 ==> LES FONDAMENTAUX DU MANAGEMENT +INFO:root:2023-01-25 19:06:58.121789 : La formation indexée (champ title) =63d16fc0a18e0689a13375d8 +INFO:root:2023-01-25 19:06:58.122885 : 1 ont été indexes => title +INFO:root:2023-01-25 19:06:58.127075 : 0 ont été indexes ==> keyword +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 19:06:58] "POST /myclass/api/add_class_mass/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\class_mgt.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:filelock:Attempting to acquire lock 2374621072272 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2374621072272 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 2374621072272 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2374621072272 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Starting optional update of built-in blacklist. +DEBUG:filelock:Attempting to acquire lock 2374621006736 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2374621006736 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Not updating because file is fresh enough. +DEBUG:filelock:Attempting to release lock 2374621006736 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2374621006736 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Attempting to acquire lock 2374621254096 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +INFO:root:2023-01-25 19:07:24.995590 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-01-25 19:07:24.995590 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-01-25 19:07:24.995590 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-01-25 19:07:24.995590 : ++ FLASK PORT 5001 ++ +DEBUG:filelock:Lock 2374621254096 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 2374621254096 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2374621254096 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 127-713-359 +INFO:werkzeug: * Detected change in 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\strype_payement.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:filelock:Attempting to acquire lock 2992189036560 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2992189036560 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 2992189036560 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2992189036560 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Starting optional update of built-in blacklist. +DEBUG:filelock:Attempting to acquire lock 2992527262608 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2992527262608 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Not updating because file is fresh enough. +DEBUG:filelock:Attempting to release lock 2992527262608 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2992527262608 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Attempting to acquire lock 2992527650256 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +INFO:root:2023-01-25 19:07:45.936453 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-01-25 19:07:45.937466 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-01-25 19:07:45.937466 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +DEBUG:filelock:Lock 2992527650256 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +INFO:root:2023-01-25 19:07:45.937466 : ++ FLASK PORT 5001 ++ +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 2992527650256 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2992527650256 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 127-713-359 +INFO:root:2023-01-25 19:08:33.688779 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 19:08:33] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-01-25 19:08:33.797279 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 19:08:33] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 - +INFO:root:2023-01-25 19:08:43.512944 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-25 19:08:43.515944 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-25 19:08:43.518938 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 19:08:43] "POST /myclass/api/get_class/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 19:08:43] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 19:08:43] "POST /myclass/api/get_associated_class_of_partnair/ HTTP/1.1" 200 - +INFO:root:2023-01-25 19:09:32.885343 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-25 19:09:32.888344 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-25 19:09:32.891342 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 19:09:32] "POST /myclass/api/get_class/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 19:09:32] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 19:09:32] "POST /myclass/api/get_associated_class_of_partnair/ HTTP/1.1" 200 - +INFO:root:2023-01-25 19:10:10.891557 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-25 19:10:10.894557 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 19:10:10] "POST /myclass/api/getRecodedClassImage/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 19:10:10] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-01-25 19:10:34.306052 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-25 19:10:35.091652 : update_class -no such item for Cursor instance - ERRORRRR AT Line : 924 +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 19:10:35] "POST /myclass/api/update_class/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\class_mgt.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:filelock:Attempting to acquire lock 2628362833552 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2628362833552 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 2628362833552 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2628362833552 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Starting optional update of built-in blacklist. +DEBUG:filelock:Attempting to acquire lock 2628362895824 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2628362895824 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Not updating because file is fresh enough. +DEBUG:filelock:Attempting to release lock 2628362895824 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2628362895824 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Attempting to acquire lock 2628363329488 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2628363329488 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +INFO:root:2023-01-25 19:11:24.894773 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-01-25 19:11:24.894773 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-01-25 19:11:24.895801 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-01-25 19:11:24.895801 : ++ FLASK PORT 5001 ++ +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 2628363329488 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2628363329488 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 127-713-359 +INFO:root:2023-01-25 19:11:46.710570 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-25 19:11:47.489642 : update_class - La formation a bin ete mise à jour =63d16fbfa18e0689a13375bd +INFO:root:2023-01-25 19:11:47.494731 : external_code = MYSY_10021 ==> TECHNIQUE DE VENTE +INFO:root:2023-01-25 19:11:47.776708 : La formation indexée (champ title) =63d16fbfa18e0689a13375bd +INFO:root:2023-01-25 19:11:47.776708 : 1 ont été indexes => title +INFO:root:2023-01-25 19:11:47.781413 : external_code = MYSY_10021 ==> TECHNIQUE DE VENTE +INFO:root:2023-01-25 19:11:48.035469 : documents must be a non-empty list +INFO:root:2023-01-25 19:11:48.039469 : La formation indexée (champs objectif) =63d16fbfa18e0689a13375bd +INFO:root:2023-01-25 19:11:48.039469 : 1 ont été indexes ==> keyword +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 19:11:48] "POST /myclass/api/update_class/ HTTP/1.1" 200 - +INFO:root:2023-01-25 19:11:53.468952 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-25 19:11:53.471944 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-25 19:11:53.473943 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 19:11:53] "POST /myclass/api/get_class/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 19:11:53] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 19:11:53] "POST /myclass/api/get_associated_class_of_partnair/ HTTP/1.1" 200 - +INFO:root:2023-01-25 19:12:04.782731 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-25 19:12:04.782731 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-25 19:12:04.786728 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 19:12:04] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 19:12:04] "POST /myclass/api/get_class/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 19:12:04] "POST /myclass/api/get_associated_class_of_partnair/ HTTP/1.1" 200 - +INFO:root:2023-01-25 19:12:20.375861 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-25 19:12:20.378863 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-25 19:12:20.380865 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 19:12:20] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 19:12:20] "POST /myclass/api/get_class/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 19:12:20] "POST /myclass/api/get_associated_class_of_partnair/ HTTP/1.1" 200 - +INFO:root:2023-01-25 19:13:24.486470 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-25 19:13:24.488475 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 19:13:24] "POST /myclass/api/getRecodedClassImage/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 19:13:24] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-01-25 19:13:53.567974 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-25 19:13:53.585991 : update_class - La formation a bin ete mise à jour =63d16fc0a18e0689a13375d8 +INFO:root:2023-01-25 19:13:53.589981 : external_code = MYSY_10022 ==> LES FONDAMENTAUX DU MANAGEMENT +INFO:root:2023-01-25 19:13:53.873031 : La formation indexée (champ title) =63d16fc0a18e0689a13375d8 +INFO:root:2023-01-25 19:13:53.873031 : 1 ont été indexes => title +INFO:root:2023-01-25 19:13:53.878018 : external_code = MYSY_10022 ==> LES FONDAMENTAUX DU MANAGEMENT +INFO:root:2023-01-25 19:13:54.124281 : documents must be a non-empty list +INFO:root:2023-01-25 19:13:54.128272 : La formation indexée (champs objectif) =63d16fc0a18e0689a13375d8 +INFO:root:2023-01-25 19:13:54.128272 : 1 ont été indexes ==> keyword +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 19:13:54] "POST /myclass/api/update_class/ HTTP/1.1" 200 - +INFO:root:2023-01-25 19:14:03.061465 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-25 19:14:03.064463 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-25 19:14:03.067462 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 19:14:03] "POST /myclass/api/get_class/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 19:14:03] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 19:14:03] "POST /myclass/api/get_associated_class_of_partnair/ HTTP/1.1" 200 - +INFO:root:2023-01-25 19:14:27.026573 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-25 19:14:27.029574 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-25 19:14:27.032572 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 19:14:27] "POST /myclass/api/get_class/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 19:14:27] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 19:14:27] "POST /myclass/api/get_associated_class_of_partnair/ HTTP/1.1" 200 - +INFO:root:2023-01-25 19:14:36.757891 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-25 19:14:36.763894 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-25 19:14:36.766892 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 19:14:36] "POST /myclass/api/get_class/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 19:14:36] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 19:14:36] "POST /myclass/api/get_associated_class_of_partnair/ HTTP/1.1" 200 - +INFO:root:2023-01-25 19:14:43.616280 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-25 19:14:43.619278 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-25 19:14:43.622279 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 19:14:43] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 19:14:43] "POST /myclass/api/get_class/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 19:14:43] "POST /myclass/api/get_associated_class_of_partnair/ HTTP/1.1" 200 - +INFO:root:2023-01-25 19:18:49.349290 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-25 19:18:49.352277 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-25 19:18:49.355280 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 19:18:49] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 19:18:49] "POST /myclass/api/get_class/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 19:18:49] "POST /myclass/api/get_associated_class_of_partnair/ HTTP/1.1" 200 - +INFO:root:2023-01-25 19:20:18.885561 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-25 19:20:18.889558 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-25 19:20:18.892561 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 19:20:18] "POST /myclass/api/get_class/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 19:20:18] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 19:20:18] "POST /myclass/api/get_associated_class_of_partnair/ HTTP/1.1" 200 - +INFO:root:2023-01-25 19:21:02.856505 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-25 19:21:02.859507 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-25 19:21:02.862505 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 19:21:02] "POST /myclass/api/get_class/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 19:21:02] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 19:21:02] "POST /myclass/api/get_associated_class_of_partnair/ HTTP/1.1" 200 - +INFO:root:2023-01-25 19:21:44.311983 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-25 19:21:44.314986 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-25 19:21:44.316979 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 19:21:44] "POST /myclass/api/get_class/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 19:21:44] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 19:21:44] "POST /myclass/api/get_associated_class_of_partnair/ HTTP/1.1" 200 - +INFO:root:2023-01-25 19:23:25.797638 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-25 19:23:25.800161 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-25 19:23:25.802159 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 19:23:25] "POST /myclass/api/GetAllValideSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 19:23:25] "POST /myclass/api/GetPartnerAttestation_Certificat/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 19:23:25] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-01-25 19:23:35.692142 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 19:23:35] "POST /myclass/api/Add_Update_SessionFormation_mass/ HTTP/1.1" 200 - +INFO:root:2023-01-25 19:23:36.259955 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 19:23:36] "POST /myclass/api/GetAllValideSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2023-01-25 19:24:16.365188 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-25 19:24:16.368205 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-25 19:24:16.371196 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 19:24:16] "POST /myclass/api/GetAllClassStagiaire/ HTTP/1.1" 200 - +INFO:root:2023-01-25 19:24:16.375199 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-25 19:24:16.377213 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 19:24:16] "POST /myclass/api/GetAllClassStagiaire/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 19:24:16] "POST /myclass/api/GetTableauEmargement/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 19:24:16] "POST /myclass/api/GetSessionFormation/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 19:24:16] "POST /myclass/api/GetListEvaluation_Session/ HTTP/1.1" 200 - +INFO:root:2023-01-25 19:25:44.951755 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 19:25:47] "POST /myclass/api/AddStagiairetoClass_mass/ HTTP/1.1" 200 - +INFO:root:2023-01-25 19:25:47.998289 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-25 19:25:48.000351 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-25 19:25:48.003496 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 19:25:48] "POST /myclass/api/GetAllClassStagiaire/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 19:25:48] "POST /myclass/api/GetAllClassStagiaire/ HTTP/1.1" 200 - +INFO:root:2023-01-25 19:25:48.007492 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 19:25:48] "POST /myclass/api/GetTableauEmargement/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 19:25:48] "POST /myclass/api/GetListEvaluation_Session/ HTTP/1.1" 200 - +INFO:root:2023-01-25 19:26:03.774841 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 19:26:03] "POST /myclass/api/GetAttendeeDetail_perSession/ HTTP/1.1" 200 - +INFO:root:2023-01-25 19:26:10.744242 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 19:26:10] "GET /myclass/api/PrintAttendeeDetail_perSession/7rTNpiYiN_8Ik4z_cL1MXJhxhMxTdh8Zww/MYSY_10021_S2/billardman1@yahoo.fr HTTP/1.1" 500 - +INFO:werkzeug: * Detected change in 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\Inscription_mgt.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:filelock:Attempting to acquire lock 2178153568272 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2178153568272 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 2178153568272 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2178153568272 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Starting optional update of built-in blacklist. +DEBUG:filelock:Attempting to acquire lock 2178184616912 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2178184616912 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Not updating because file is fresh enough. +DEBUG:filelock:Attempting to release lock 2178184616912 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2178184616912 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Attempting to acquire lock 2178184617872 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2178184617872 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 2178184617872 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +INFO:root:2023-01-25 19:33:08.044477 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-01-25 19:33:08.044477 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-01-25 19:33:08.044477 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-01-25 19:33:08.045478 : ++ FLASK PORT 5001 ++ +DEBUG:filelock:Lock 2178184617872 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 127-713-359 +INFO:root:2023-01-25 19:33:08.350749 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 19:33:09] "GET /myclass/api/PrintAttendeeDetail_perSession/7rTNpiYiN_8Ik4z_cL1MXJhxhMxTdh8Zww/MYSY_10021_S2/billardman1@yahoo.fr HTTP/1.1" 500 - +INFO:werkzeug: * Detected change in 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\Inscription_mgt.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:filelock:Attempting to acquire lock 1403956993040 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1403956993040 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 1403956993040 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1403956993040 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Starting optional update of built-in blacklist. +DEBUG:filelock:Attempting to acquire lock 1403957035216 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1403957035216 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Not updating because file is fresh enough. +DEBUG:filelock:Attempting to release lock 1403957035216 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1403957035216 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Attempting to acquire lock 1403962295120 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +INFO:root:2023-01-25 19:37:01.433462 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-01-25 19:37:01.433462 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-01-25 19:37:01.433462 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-01-25 19:37:01.433462 : ++ FLASK PORT 5001 ++ +DEBUG:filelock:Lock 1403962295120 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 1403962295120 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1403962295120 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 127-713-359 +INFO:root:2023-01-25 19:37:03.478297 : Security check : IP adresse '127.0.0.1' connected +DEBUG:xhtml2pdf:pisaDocument options: + src = '\n\n\n\n\t
\n\t\tMysy Training Logo \n\t
\n\t\n\t\n\t\t
\n\t\t\t
\n\t\t\t\t\n\t\t\t\t
\n\n\n\t\t\t\t\n\n\t\t\t\t\tInstitut de formation : MySy Training
\n\t\t\t\t\tFormation : TECHNIQUE DE VENTE
\n\t\t\t\t\tDate session : 15/03/2023 au 15/03/2023
\n\t\t\t\t\tAdresse :
\n\t\t\t\t\tFormateur : MySy Training
\n\t\t\t\t\tA distance : 1 / En presence : 0 \n\n\t\t\t\t
\n\n\n\n\n\t\t\t
\n\t\t\t
\n\t\t\t
\n\t\t\t\t\n\t\t\t\t
\n\t\t\t\t\n\n\t\t\t\t\tNom & Prénom :  
\n\t\t\t\t\tTéléphone :
\n\t\t\t\t\tEmail :
\n\t\t\t\t\tAdresse : , 75000   paris
\n\t\t\t\t\tDate inscription : 25/01/2023 19:25:44
\n\t\t\t\t\tEmployeur :
\n\t\t\t\t\tMode de financement :
\n\n\n\n\t\t\t\t
\n\n\t\t\t\n\t\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\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\n\t\t\t\t\t\t\n\n\t\t\t\t\t\t\n\t\t\t\t\t
DateMatinApres Midi
\n\t\t\t\t
\n\t\t\t\n\n\t\t\t
\n\t\t\t
\n\t\t\t
\n\t\t\t\t\n\t\t\t\t
\n\t\t\t\t\n\n\t\t\t\t\tDate évaluation :
\n\t\t\t\t\tNote :
\n\t\t\t\t\tEvaluation :
\n\n\n\n\n\t\t\t\t
\n\t\t\t\n\n\t\t\t
\n\n\t\t\t\n\n\n\n\t\t\n\n\t\n\t
\n\t
Date impression : 25/01/2023
\n\n\n' + dest = <_io.BufferedRandom name='./Emargement/fichier_presence.pdf'> + path = None + link_callback = None + xhtml = False + context_meta = None +DEBUG:xhtml2pdf:FileObject 'http://88.170.110.220/img/MYSY-LOGO-BLUE.png', Basepath: 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\__dummy__' +DEBUG:xhtml2pdf:URLParts: (ParseResult(scheme='http', netloc='88.170.110.220', path='/img/MYSY-LOGO-BLUE.png', params='', query='', fragment=''), 'http') +DEBUG:xhtml2pdf:Parsing img tag, src: +DEBUG:xhtml2pdf:Attrs: {'src': , 'width': 60.0, 'height': None, 'align': None, 'id': None} +DEBUG:xhtml2pdf:Sending request for http://88.170.110.220/img/MYSY-LOGO-BLUE.png with httplib +DEBUG:xhtml2pdf:Uri parsed: http://88.170.110.220/img/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:Col 1 has width 20% +DEBUG:xhtml2pdf:Col 2 has width 20% +DEBUG:xhtml2pdf:Col widths: [None, '20%', '20%'] +DEBUG:PIL.PngImagePlugin:STREAM b'IHDR' 16 13 +DEBUG:PIL.PngImagePlugin:STREAM b'tEXt' 41 25 +DEBUG:PIL.PngImagePlugin:STREAM b'IDAT' 78 6645 +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 19:37:03] "GET /myclass/api/PrintAttendeeDetail_perSession/7rTNpiYiN_8Ik4z_cL1MXJhxhMxTdh8Zww/MYSY_10021_S2/billardman1@yahoo.fr HTTP/1.1" 200 - +INFO:root:2023-01-25 19:37:45.866877 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-25 19:37:45.869884 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-25 19:37:45.871879 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 19:37:45] "POST /myclass/api/get_class/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 19:37:45] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 19:37:45] "POST /myclass/api/get_associated_class_of_partnair/ HTTP/1.1" 200 - +INFO:root:2023-01-25 19:39:26.851985 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-25 19:39:26.857990 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-25 19:39:26.860987 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 19:39:26] "POST /myclass/api/get_class/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 19:39:26] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 19:39:26] "POST /myclass/api/get_associated_class_of_partnair/ HTTP/1.1" 200 - +INFO:root:2023-01-25 19:43:39.698760 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-25 19:43:39.704754 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 19:43:39] "POST /myclass/api/get_class/ HTTP/1.1" 200 - +INFO:root:2023-01-25 19:43:39.710760 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 19:43:39] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 19:43:39] "POST /myclass/api/get_associated_class_of_partnair/ HTTP/1.1" 200 - +INFO:root:2023-01-25 19:43:44.251314 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 19:43:44] "POST /myclass/api/get_class/ HTTP/1.1" 200 - +INFO:root:2023-01-25 19:43:44.263310 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-25 19:43:44.266321 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 19:43:44] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 19:43:44] "POST /myclass/api/get_associated_class_of_partnair/ HTTP/1.1" 200 - +INFO:root:2023-01-25 19:44:14.387771 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-25 19:44:14.390773 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-25 19:44:14.393767 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 19:44:14] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 19:44:14] "POST /myclass/api/get_class/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 19:44:14] "POST /myclass/api/get_associated_class_of_partnair/ HTTP/1.1" 200 - +INFO:root:2023-01-25 19:44:42.081911 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-25 19:44:42.085909 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-25 19:44:42.088930 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 19:44:42] "POST /myclass/api/get_class/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 19:44:42] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 19:44:42] "POST /myclass/api/get_associated_class_of_partnair/ HTTP/1.1" 200 - +INFO:root:2023-01-25 19:45:41.068962 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-25 19:45:41.071966 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-25 19:45:41.074956 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 19:45:41] "POST /myclass/api/get_class/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 19:45:41] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 19:45:41] "POST /myclass/api/get_associated_class_of_partnair/ HTTP/1.1" 200 - +INFO:root:2023-01-25 19:47:26.474022 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-25 19:47:26.477026 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-25 19:47:26.479023 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 19:47:26] "POST /myclass/api/get_class/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 19:47:26] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 19:47:26] "POST /myclass/api/get_associated_class_of_partnair/ HTTP/1.1" 200 - +INFO:root:2023-01-25 19:50:34.148209 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-25 19:50:34.156201 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 19:50:34] "POST /myclass/api/get_class/ HTTP/1.1" 200 - +INFO:root:2023-01-25 19:50:34.160205 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 19:50:34] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 19:50:34] "POST /myclass/api/get_associated_class_of_partnair/ HTTP/1.1" 200 - +INFO:root:2023-01-25 19:50:37.400384 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-25 19:50:37.402385 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-25 19:50:37.406390 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 19:50:37] "POST /myclass/api/get_class/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 19:50:37] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 19:50:37] "POST /myclass/api/get_associated_class_of_partnair/ HTTP/1.1" 200 - +INFO:root:2023-01-25 19:50:48.311144 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 19:50:48] "POST /myclass/api/get_class/ HTTP/1.1" 200 - +INFO:root:2023-01-25 19:50:48.322148 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 19:50:48] "POST /myclass/api/get_associated_class_of_partnair/ HTTP/1.1" 200 - +INFO:root:2023-01-25 19:50:48.357757 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 19:50:48] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2023-01-25 19:51:17.875279 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-25 19:51:17.878272 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-25 19:51:17.881274 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 19:51:17] "POST /myclass/api/get_class/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 19:51:17] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 19:51:17] "POST /myclass/api/get_associated_class_of_partnair/ HTTP/1.1" 200 - +INFO:root:2023-01-25 19:51:35.589762 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-25 19:51:35.596759 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 19:51:35] "POST /myclass/api/get_class/ HTTP/1.1" 200 - +INFO:root:2023-01-25 19:51:35.599757 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 19:51:35] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 19:51:35] "POST /myclass/api/get_associated_class_of_partnair/ HTTP/1.1" 200 - +INFO:root:2023-01-25 19:52:03.791973 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-25 19:52:03.794980 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-25 19:52:03.796982 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 19:52:03] "POST /myclass/api/get_class/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 19:52:03] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 19:52:03] "POST /myclass/api/get_associated_class_of_partnair/ HTTP/1.1" 200 - +INFO:root:2023-01-25 19:53:25.614956 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 19:53:25] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2023-01-25 19:53:25.624169 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-25 19:53:25.627169 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-25 19:53:25.629168 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 19:53:25] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 19:53:25] "POST /myclass/api/GetListOpco/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 19:53:25] "POST /myclass/api/GetListOpco/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\Inscription_mgt.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:filelock:Attempting to acquire lock 2658708196112 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2658708196112 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 2658708196112 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2658708196112 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Starting optional update of built-in blacklist. +DEBUG:filelock:Attempting to acquire lock 2658708276176 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2658708276176 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Not updating because file is fresh enough. +DEBUG:filelock:Attempting to release lock 2658708276176 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2658708276176 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Attempting to acquire lock 2658711215504 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2658711215504 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 2658711215504 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +INFO:root:2023-01-25 19:57:13.507827 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-01-25 19:57:13.507827 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-01-25 19:57:13.507827 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-01-25 19:57:13.507827 : ++ FLASK PORT 5001 ++ +DEBUG:filelock:Lock 2658711215504 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 127-713-359 +INFO:werkzeug: * Detected change in 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\GlobalVariable.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:filelock:Attempting to acquire lock 2037431912400 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2037431912400 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 2037431912400 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2037431912400 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Starting optional update of built-in blacklist. +DEBUG:filelock:Attempting to acquire lock 2037432008912 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2037432008912 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Not updating because file is fresh enough. +DEBUG:filelock:Attempting to release lock 2037432008912 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2037432008912 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Attempting to acquire lock 2037331471248 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2037331471248 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +INFO:root:2023-01-25 20:16:26.855040 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +DEBUG:filelock:Attempting to release lock 2037331471248 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +INFO:root:2023-01-25 20:16:26.855855 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-01-25 20:16:26.855855 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-01-25 20:16:26.855855 : ++ FLASK PORT 5001 ++ +DEBUG:filelock:Lock 2037331471248 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 127-713-359 +INFO:root:2023-01-25 20:19:32.242522 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-25 20:19:32.245519 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-25 20:19:32.247519 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 20:19:32] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-01-25 20:19:32.255537 : Connexion du partner recid = a97b61d78f194cd37d3e18ed634c3f623de92d3658f7803691 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 20:19:32] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 20:19:32] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-01-25 20:19:32.754371 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 20:19:32] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 - +INFO:root:2023-01-25 20:19:34.979613 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-25 20:19:34.981603 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-25 20:19:34.985604 : Connexion du partner recid = a97b61d78f194cd37d3e18ed634c3f623de92d3658f7803691 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 20:19:34] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers//payment_methods?type=card +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/customers//payment_methods?type=card response_code=404 +DEBUG:stripe:body='{\n "error": {\n "message": "Unrecognized request URL (GET: /v1/customers//payment_methods). If you are trying to list objects, remove the trailing slash. If you are trying to retrieve an object, make sure you passed a valid (non-empty) identifier in your code. Please see https://stripe.com/docs or we can help at https://support.stripe.com/.",\n "type": "invalid_request_error"\n }\n}\n' message='API response body' +INFO:stripe:error_code=None error_message='Unrecognized request URL (GET: /v1/customers//payment_methods). If you are trying to list objects, remove the trailing slash. If you are trying to retrieve an object, make sure you passed a valid (non-empty) identifier in your code. Please see https://stripe.com/docs or we can help at https://support.stripe.com/.' error_param=None error_type=invalid_request_error message='Stripe API error received' +INFO:root:2023-01-25 20:19:35.882818 : get_customer_payement_cards -Unrecognized request URL (GET: /v1/customers//payment_methods). If you are trying to list objects, remove the trailing slash. If you are trying to retrieve an object, make sure you passed a valid (non-empty) identifier in your code. Please see https://stripe.com/docs or we can help at https://support.stripe.com/. - ERRORRRR AT Line : 139 +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 20:19:35] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-01-25 20:19:40.266730 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-25 20:19:40.268732 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-25 20:19:40.271730 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 20:19:40] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-01-25 20:19:40.276260 : Connexion du partner recid = a97b61d78f194cd37d3e18ed634c3f623de92d3658f7803691 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 20:19:40] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 20:19:40] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-01-25 20:19:40.767209 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 20:19:40] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 - +INFO:root:2023-01-25 20:19:42.489212 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-25 20:19:42.491213 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-25 20:19:42.495220 : Connexion du partner recid = a97b61d78f194cd37d3e18ed634c3f623de92d3658f7803691 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 20:19:42] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers//payment_methods?type=card +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/customers//payment_methods?type=card response_code=404 +DEBUG:stripe:body='{\n "error": {\n "message": "Unrecognized request URL (GET: /v1/customers//payment_methods). If you are trying to list objects, remove the trailing slash. If you are trying to retrieve an object, make sure you passed a valid (non-empty) identifier in your code. Please see https://stripe.com/docs or we can help at https://support.stripe.com/.",\n "type": "invalid_request_error"\n }\n}\n' message='API response body' +INFO:stripe:error_code=None error_message='Unrecognized request URL (GET: /v1/customers//payment_methods). If you are trying to list objects, remove the trailing slash. If you are trying to retrieve an object, make sure you passed a valid (non-empty) identifier in your code. Please see https://stripe.com/docs or we can help at https://support.stripe.com/.' error_param=None error_type=invalid_request_error message='Stripe API error received' +INFO:root:2023-01-25 20:19:42.583237 : get_customer_payement_cards -Unrecognized request URL (GET: /v1/customers//payment_methods). If you are trying to list objects, remove the trailing slash. If you are trying to retrieve an object, make sure you passed a valid (non-empty) identifier in your code. Please see https://stripe.com/docs or we can help at https://support.stripe.com/. - ERRORRRR AT Line : 139 +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 20:19:42] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-01-25 20:19:51.681024 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-25 20:19:51.685028 : Connexion du partner recid = a97b61d78f194cd37d3e18ed634c3f623de92d3658f7803691 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 20:19:51] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:root:2023-01-25 20:19:59.459894 : Security check : IP adresse '127.0.0.1' connected +INFO:stripe:message='Request to Stripe api' method=post path=https://api.stripe.com/v1/customers +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=email=mysy1000formation%40gmail.com&name=1000+Formation&address[city]=&address[country]= +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/customers response_code=200 +DEBUG:stripe:body='{\n "id": "cus_NEhvSySzsgrsOA",\n "object": "customer",\n "address": {\n "city": "",\n "country": "",\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "balance": 0,\n "created": 1674674401,\n "currency": null,\n "default_currency": null,\n "default_source": null,\n "delinquent": false,\n "description": null,\n "discount": null,\n "email": "mysy1000formation@gmail.com",\n "invoice_prefix": "571AF39B",\n "invoice_settings": {\n "custom_fields": null,\n "default_payment_method": null,\n "footer": null,\n "rendering_options": null\n },\n "livemode": true,\n "metadata": {},\n "name": "1000 Formation",\n "phone": null,\n "preferred_locales": [],\n "shipping": null,\n "tax_exempt": "none",\n "test_clock": null\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/live/logs/req_faiTYVsBBMUO8N message='Dashboard link for request' +INFO:root:2023-01-25 20:19:59.933447 : create_customer - le partenaire mysy1000formation@gmail.com a été correctement créé dans Stripe. Son Id = cus_NEhvSySzsgrsOA +INFO:root:2023-01-25 20:19:59.939435 : update_partner_accountLe partenaire a bien ete mise à jour =63d168b1da18f633b8053b6a +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 20:19:59] "POST /myclass/api/update_partner_account/ HTTP/1.1" 200 - +INFO:root:2023-01-25 20:20:02.684188 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 20:20:02] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-01-25 20:20:02.717736 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 20:20:02] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 - +INFO:root:2023-01-25 20:20:04.761487 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-25 20:20:04.763484 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-25 20:20:04.766508 : Connexion du partner recid = a97b61d78f194cd37d3e18ed634c3f623de92d3658f7803691 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 20:20:04] "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_NEhvSySzsgrsOA/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_NEhvSySzsgrsOA/payment_methods?type=card response_code=200 +DEBUG:stripe:body='{\n "object": "list",\n "data": [],\n "has_more": false,\n "url": "/v1/customers/cus_NEhvSySzsgrsOA/payment_methods"\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/live/logs/req_WDhTECMtjlX0CN message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 20:20:05] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-01-25 20:22:22.068282 : Security check : IP adresse '127.0.0.1' connected +INFO:stripe:message='Request to Stripe api' method=post path=https://api.stripe.com/v1/payment_methods +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card&card[number]=4974018521195244&card[exp_month]=7&card[exp_year]=23&card[cvc]=561&billing_details[name]=cccc +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/payment_methods response_code=200 +DEBUG:stripe:body='{\n "id": "pm_1MUEY7AbmaEugrFThiniwKTc",\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": "cccc",\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": "FR",\n "exp_month": 7,\n "exp_year": 2023,\n "fingerprint": "j5paaonSr9TY5c87",\n "funding": "debit",\n "generated_from": null,\n "last4": "5244",\n "networks": {\n "available": [\n "cartes_bancaires",\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1674674544,\n "customer": null,\n "livemode": true,\n "metadata": {},\n "type": "card"\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/live/logs/req_9JiEyqsh4PEArG message='Dashboard link for request' +INFO:stripe:message='Request to Stripe api' method=post path=https://api.stripe.com/v1/payment_methods/pm_1MUEY7AbmaEugrFThiniwKTc/attach +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=customer=cus_NEhvSySzsgrsOA +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/payment_methods/pm_1MUEY7AbmaEugrFThiniwKTc/attach response_code=200 +DEBUG:stripe:body='{\n "id": "pm_1MUEY7AbmaEugrFThiniwKTc",\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": "cccc",\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": "FR",\n "exp_month": 7,\n "exp_year": 2023,\n "fingerprint": "j5paaonSr9TY5c87",\n "funding": "debit",\n "generated_from": null,\n "last4": "5244",\n "networks": {\n "available": [\n "cartes_bancaires",\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1674674544,\n "customer": "cus_NEhvSySzsgrsOA",\n "livemode": true,\n "metadata": {},\n "type": "card"\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/live/logs/req_nki7XB6elJVcG5 message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 20:22:24] "POST /myclass/api/add_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-01-25 20:22:25.624107 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-25 20:22:25.627110 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-25 20:22:25.630109 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 20:22:25] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-01-25 20:22:25.635196 : Connexion du partner recid = a97b61d78f194cd37d3e18ed634c3f623de92d3658f7803691 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 20:22:25] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 20:22:25] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-01-25 20:22:26.202184 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 20:22:26] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 - +INFO:root:2023-01-25 20:22:37.696417 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-25 20:22:37.698423 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-25 20:22:37.703419 : Connexion du partner recid = a97b61d78f194cd37d3e18ed634c3f623de92d3658f7803691 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 20:22: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_NEhvSySzsgrsOA/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_NEhvSySzsgrsOA/payment_methods?type=card response_code=200 +DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MUEY7AbmaEugrFThiniwKTc",\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": "cccc",\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": "FR",\n "exp_month": 7,\n "exp_year": 2023,\n "fingerprint": "j5paaonSr9TY5c87",\n "funding": "debit",\n "generated_from": null,\n "last4": "5244",\n "networks": {\n "available": [\n "cartes_bancaires",\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1674674544,\n "customer": "cus_NEhvSySzsgrsOA",\n "livemode": true,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NEhvSySzsgrsOA/payment_methods"\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/live/logs/req_oV6cTorZWxSHaJ message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 20:22:38] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-01-25 20:22:48.399466 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-25 20:22:48.402470 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-25 20:22:48.404461 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-25 20:22:48.407468 : Connexion du partner recid = a97b61d78f194cd37d3e18ed634c3f623de92d3658f7803691 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 20:22:48] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 20:22:48] "POST /myclass/api/get_product_service/ HTTP/1.1" 200 - +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_NEhvSySzsgrsOA/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_NEhvSySzsgrsOA/payment_methods?type=card response_code=200 +DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MUEY7AbmaEugrFThiniwKTc",\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": "cccc",\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": "FR",\n "exp_month": 7,\n "exp_year": 2023,\n "fingerprint": "j5paaonSr9TY5c87",\n "funding": "debit",\n "generated_from": null,\n "last4": "5244",\n "networks": {\n "available": [\n "cartes_bancaires",\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1674674544,\n "customer": "cus_NEhvSySzsgrsOA",\n "livemode": true,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NEhvSySzsgrsOA/payment_methods"\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/live/logs/req_Thgr7WHK8nEorK message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 20:22:48] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-01-25 20:22:48.804547 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-25 20:22:48.808569 : Connexion du partner recid = a97b61d78f194cd37d3e18ed634c3f623de92d3658f7803691 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 20:22:48] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:root:2023-01-25 20:22:53.662429 : Security check : IP adresse '127.0.0.1' connected +INFO:stripe:message='Request to Stripe api' method=post path=https://api.stripe.com/v1/subscriptions +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=customer=cus_NEhvSySzsgrsOA&items[0][price]=price_1MT0icAbmaEugrFTvtvpMZbG&items[0][quantity]=1&payment_behavior=default_incomplete&expand[0]=latest_invoice.payment_intent +INFO:root:2023-01-25 20:22:53.665435 : Security check : IP adresse '127.0.0.1' connected +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/subscriptions response_code=200 +DEBUG:stripe:body='{\n "id": "sub_1MUEYdAbmaEugrFTINl889of",\n "object": "subscription",\n "application": null,\n "application_fee_percent": null,\n "automatic_tax": {\n "enabled": false\n },\n "billing_cycle_anchor": 1674674575,\n "billing_thresholds": null,\n "cancel_at": null,\n "cancel_at_period_end": false,\n "canceled_at": null,\n "collection_method": "charge_automatically",\n "created": 1674674575,\n "currency": "eur",\n "current_period_end": 1677352975,\n "current_period_start": 1674674575,\n "customer": "cus_NEhvSySzsgrsOA",\n "days_until_due": null,\n "default_payment_method": null,\n "default_source": null,\n "default_tax_rates": [],\n "description": null,\n "discount": null,\n "ended_at": null,\n "items": {\n "object": "list",\n "data": [\n {\n "id": "si_NEhy5h9k403qrP",\n "object": "subscription_item",\n "billing_thresholds": null,\n "created": 1674674575,\n "metadata": {},\n "plan": {\n "id": "price_1MT0icAbmaEugrFTvtvpMZbG",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 100,\n "amount_decimal": "100",\n "billing_scheme": "per_unit",\n "created": 1674383050,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": true,\n "metadata": {},\n "nickname": null,\n "product": "prod_NDRbSAzWswsUQW",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "price": {\n "id": "price_1MT0icAbmaEugrFTvtvpMZbG",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1674383050,\n "currency": "eur",\n "custom_unit_amount": null,\n "livemode": true,\n "lookup_key": null,\n "metadata": {},\n "nickname": null,\n "product": "prod_NDRbSAzWswsUQW",\n "recurring": {\n "aggregate_usage": null,\n "interval": "month",\n "interval_count": 1,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "tax_behavior": "exclusive",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 100,\n "unit_amount_decimal": "100"\n },\n "quantity": 1,\n "subscription": "sub_1MUEYdAbmaEugrFTINl889of",\n "tax_rates": []\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/subscription_items?subscription=sub_1MUEYdAbmaEugrFTINl889of"\n },\n "latest_invoice": {\n "id": "in_1MUEYdAbmaEugrFTcqOMdQQV",\n "object": "invoice",\n "account_country": "FR",\n "account_name": "MYSY Training Technology ",\n "account_tax_ids": null,\n "amount_due": 100,\n "amount_paid": 0,\n "amount_remaining": 100,\n "application": null,\n "application_fee_amount": null,\n "attempt_count": 0,\n "attempted": false,\n "auto_advance": false,\n "automatic_tax": {\n "enabled": false,\n "status": null\n },\n "billing_reason": "subscription_create",\n "charge": null,\n "collection_method": "charge_automatically",\n "created": 1674674575,\n "currency": "eur",\n "custom_fields": null,\n "customer": "cus_NEhvSySzsgrsOA",\n "customer_address": {\n "city": "",\n "country": "",\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "customer_email": "mysy1000formation@gmail.com",\n "customer_name": "1000 Formation",\n "customer_phone": null,\n "customer_shipping": null,\n "customer_tax_exempt": "none",\n "customer_tax_ids": [],\n "default_payment_method": null,\n "default_source": null,\n "default_tax_rates": [],\n "description": null,\n "discount": null,\n "discounts": [],\n "due_date": null,\n "ending_balance": 0,\n "footer": null,\n "from_invoice": null,\n "hosted_invoice_url": "https://invoice.stripe.com/i/acct_1LUUfAAbmaEugrFT/live_YWNjdF8xTFVVZkFBYm1hRXVnckZULF9ORWh5dW15VGpSNENIMlpFamdZU2Z1Q0lIUGV0MzczLDY1MjE1Mzc20200Nko7xLAa?s=ap",\n "invoice_pdf": "https://pay.stripe.com/invoice/acct_1LUUfAAbmaEugrFT/live_YWNjdF8xTFVVZkFBYm1hRXVnckZULF9ORWh5dW15VGpSNENIMlpFamdZU2Z1Q0lIUGV0MzczLDY1MjE1Mzc20200Nko7xLAa/pdf?s=ap",\n "last_finalization_error": null,\n "latest_revision": null,\n "lines": {\n "object": "list",\n "data": [\n {\n "id": "il_1MUEYdAbmaEugrFT5KiqU6KN",\n "object": "line_item",\n "amount": 100,\n "amount_excluding_tax": 100,\n "currency": "eur",\n "description": "1 × MySy_Standard (at €1.00 / month)",\n "discount_amounts": [],\n "discountable": true,\n "discounts": [],\n "livemode": true,\n "metadata": {},\n "period": {\n "end": 1677352975,\n "start": 1674674575\n },\n "plan": {\n "id": "price_1MT0icAbmaEugrFTvtvpMZbG",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 100,\n "amount_decimal": "100",\n "billing_scheme": "per_unit",\n "created": 1674383050,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": true,\n "metadata": {},\n "nickname": null,\n "product": "prod_NDRbSAzWswsUQW",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "price": {\n "id": "price_1MT0icAbmaEugrFTvtvpMZbG",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1674383050,\n "currency": "eur",\n "custom_unit_amount": null,\n "livemode": true,\n "lookup_key": null,\n "metadata": {},\n "nickname": null,\n "product": "prod_NDRbSAzWswsUQW",\n "recurring": {\n "aggregate_usage": null,\n "interval": "month",\n "interval_count": 1,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "tax_behavior": "exclusive",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 100,\n "unit_amount_decimal": "100"\n },\n "proration": false,\n "proration_details": {\n "credited_items": null\n },\n "quantity": 1,\n "subscription": "sub_1MUEYdAbmaEugrFTINl889of",\n "subscription_item": "si_NEhy5h9k403qrP",\n "tax_amounts": [],\n "tax_rates": [],\n "type": "subscription",\n "unit_amount_excluding_tax": "100"\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/invoices/in_1MUEYdAbmaEugrFTcqOMdQQV/lines"\n },\n "livemode": true,\n "metadata": {},\n "next_payment_attempt": null,\n "number": "E58073E6-0005",\n "on_behalf_of": null,\n "paid": false,\n "paid_out_of_band": false,\n "payment_intent": {\n "id": "pi_3MUEYeAbmaEugrFT14rb4jtz",\n "object": "payment_intent",\n "amount": 100,\n "amount_capturable": 0,\n "amount_details": {\n "tip": {}\n },\n "amount_received": 0,\n "application": null,\n "application_fee_amount": null,\n "automatic_payment_methods": null,\n "canceled_at": null,\n "cancellation_reason": null,\n "capture_method": "automatic",\n "charges": {\n "object": "list",\n "data": [],\n "has_more": false,\n "total_count": 0,\n "url": "/v1/charges?payment_intent=pi_3MUEYeAbmaEugrFT14rb4jtz"\n },\n "client_secret": "pi_3MUEYeAbmaEugrFT14rb4jtz_secret_fhXWHtoB1Y93JZlLgDiupcG7A",\n "confirmation_method": "automatic",\n "created": 1674674576,\n "currency": "eur",\n "customer": "cus_NEhvSySzsgrsOA",\n "description": "Subscription creation",\n "invoice": "in_1MUEYdAbmaEugrFTcqOMdQQV",\n "last_payment_error": null,\n "latest_charge": null,\n "livemode": true,\n "metadata": {},\n "next_action": null,\n "on_behalf_of": null,\n "payment_method": null,\n "payment_method_options": {\n "card": {\n "installments": null,\n "mandate_options": null,\n "network": null,\n "request_three_d_secure": "automatic"\n },\n "sepa_debit": {}\n },\n "payment_method_types": [\n "card",\n "sepa_debit"\n ],\n "processing": null,\n "receipt_email": null,\n "review": null,\n "setup_future_usage": "off_session",\n "shipping": null,\n "source": null,\n "statement_descriptor": null,\n "statement_descriptor_suffix": null,\n "status": "requires_payment_method",\n "transfer_data": null,\n "transfer_group": null\n },\n "payment_settings": {\n "default_mandate": null,\n "payment_method_options": null,\n "payment_method_types": null\n },\n "period_end": 1674674575,\n "period_start": 1674674575,\n "post_payment_credit_notes_amount": 0,\n "pre_payment_credit_notes_amount": 0,\n "quote": null,\n "receipt_number": null,\n "rendering_options": null,\n "starting_balance": 0,\n "statement_descriptor": null,\n "status": "open",\n "status_transitions": {\n "finalized_at": 1674674575,\n "marked_uncollectible_at": null,\n "paid_at": null,\n "voided_at": null\n },\n "subscription": "sub_1MUEYdAbmaEugrFTINl889of",\n "subtotal": 100,\n "subtotal_excluding_tax": 100,\n "tax": null,\n "test_clock": null,\n "total": 100,\n "total_discount_amounts": [],\n "total_excluding_tax": 100,\n "total_tax_amounts": [],\n "transfer_data": null,\n "webhooks_delivered_at": 1674674575\n },\n "livemode": true,\n "metadata": {},\n "next_pending_invoice_item_invoice": null,\n "on_behalf_of": null,\n "pause_collection": null,\n "payment_settings": {\n "payment_method_options": null,\n "payment_method_types": null,\n "save_default_payment_method": "off"\n },\n "pending_invoice_item_interval": null,\n "pending_setup_intent": null,\n "pending_update": null,\n "plan": {\n "id": "price_1MT0icAbmaEugrFTvtvpMZbG",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 100,\n "amount_decimal": "100",\n "billing_scheme": "per_unit",\n "created": 1674383050,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": true,\n "metadata": {},\n "nickname": null,\n "product": "prod_NDRbSAzWswsUQW",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "quantity": 1,\n "schedule": null,\n "start_date": 1674674575,\n "status": "incomplete",\n "test_clock": null,\n "transfer_data": null,\n "trial_end": null,\n "trial_start": null\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/live/logs/req_YrX515wDOOInl0 message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 20:22:55] "POST /myclass/api/create-subscription/ 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\t1000 Formation
\n\t\t\t\t\t2, place des magnolias
\n\t\t\t\t\t77680 RB
\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_231000142\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: 25/01/2023 Date échéance : 25/01/2023
\n\n\t\t\t\t\n\t\t\t\t\tOrigine : MySy_00Zhpa\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
Standard15050.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: 50.0
    TVA 20% : 10.0
    Montant TTC : 60.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_231000142.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\\cheri\\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): 0x5bbae750 +DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_2.12.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: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:Attempting password auth... +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_231000142.pdf', 'wb') +DEBUG:paramiko.transport.sftp:[chan 0] open(b'/var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_231000142.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_231000142.pdf') +INFO:root:2023-01-25 20:22:59.442792 : convertHtmlToPdf DEPLACEMENT DE ./Invoices/invoice_FACT_231000142.pdf VERS /var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_231000142.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-01-25 20:22:59.443792 : Impression facture N° FACT_231000142 OK +INFO:root:2023-01-25 20:22:59.459599 : UpdataPartnerRankingClass - Le RANKING de 2 ont été mise à jour avec la valeur {'display_rank': '20', 'date_update': '2023-01-25 20:22:59.449783'} +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 20:22:59] "POST /myclass/api/createOrder/ HTTP/1.1" 200 - +INFO:root:2023-01-25 20:22:59.576662 : Security check : IP adresse '127.0.0.1' connected +INFO:stripe:message='Request to Stripe api' method=post path=https://api.stripe.com/v1/payment_intents/pi_3MUEYeAbmaEugrFT14rb4jtz/confirm +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=payment_method=pm_1MUEY7AbmaEugrFThiniwKTc&return_url=http%3A%2F%2Flocalhost%3A3009%2FOrderConfirmation_3DS%2FMySy_00Zhpa%2FStandard +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/payment_intents/pi_3MUEYeAbmaEugrFT14rb4jtz/confirm response_code=200 +DEBUG:stripe:body='{\n "id": "pi_3MUEYeAbmaEugrFT14rb4jtz",\n "object": "payment_intent",\n "amount": 100,\n "amount_capturable": 0,\n "amount_details": {\n "tip": {}\n },\n "amount_received": 0,\n "application": null,\n "application_fee_amount": null,\n "automatic_payment_methods": null,\n "canceled_at": null,\n "cancellation_reason": null,\n "capture_method": "automatic",\n "charges": {\n "object": "list",\n "data": [],\n "has_more": false,\n "total_count": 0,\n "url": "/v1/charges?payment_intent=pi_3MUEYeAbmaEugrFT14rb4jtz"\n },\n "client_secret": "pi_3MUEYeAbmaEugrFT14rb4jtz_secret_fhXWHtoB1Y93JZlLgDiupcG7A",\n "confirmation_method": "automatic",\n "created": 1674674576,\n "currency": "eur",\n "customer": "cus_NEhvSySzsgrsOA",\n "description": "Subscription creation",\n "invoice": "in_1MUEYdAbmaEugrFTcqOMdQQV",\n "last_payment_error": null,\n "latest_charge": null,\n "livemode": true,\n "metadata": {},\n "next_action": {\n "redirect_to_url": {\n "return_url": "http://localhost:3009/OrderConfirmation_3DS/MySy_00Zhpa/Standard",\n "url": "https://hooks.stripe.com/3d_secure_2/hosted?merchant=acct_1LUUfAAbmaEugrFT&payment_intent=pi_3MUEYeAbmaEugrFT14rb4jtz&payment_intent_client_secret=pi_3MUEYeAbmaEugrFT14rb4jtz_secret_fhXWHtoB1Y93JZlLgDiupcG7A&publishable_key=pk_live_51LUUfAAbmaEugrFTyfNe4Dj0vbxc5qXQqNs0rztjAKy8oSlc5EEQyJGjA8Z5kXmP2gvUMcYLUBYCIyWWzLCw59RY00PtGInkVf&source=src_1MUEYkAbmaEugrFTBYR98W7x"\n },\n "type": "redirect_to_url"\n },\n "on_behalf_of": null,\n "payment_method": "pm_1MUEY7AbmaEugrFThiniwKTc",\n "payment_method_options": {\n "card": {\n "installments": null,\n "mandate_options": null,\n "network": null,\n "request_three_d_secure": "automatic"\n },\n "sepa_debit": {}\n },\n "payment_method_types": [\n "card",\n "sepa_debit"\n ],\n "processing": null,\n "receipt_email": null,\n "review": null,\n "setup_future_usage": "off_session",\n "shipping": null,\n "source": null,\n "statement_descriptor": null,\n "statement_descriptor_suffix": null,\n "status": "requires_action",\n "transfer_data": null,\n "transfer_group": null\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/live/logs/req_TX0mZPW5mDkxQy message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 20:23:01] "POST /myclass/api/confirm_payment/ HTTP/1.1" 200 - +INFO:root:2023-01-25 20:24:27.353335 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 20:24:27] "POST /myclass/api/CheckSalesOrder/ HTTP/1.1" 200 - +INFO:root:2023-01-25 20:24:27.452866 : Security check : IP adresse '127.0.0.1' connected +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/payment_intents/pi_3MUEYeAbmaEugrFT14rb4jtz +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data= +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/payment_intents/pi_3MUEYeAbmaEugrFT14rb4jtz response_code=200 +DEBUG:stripe:body='{\n "id": "pi_3MUEYeAbmaEugrFT14rb4jtz",\n "object": "payment_intent",\n "amount": 100,\n "amount_capturable": 0,\n "amount_details": {\n "tip": {}\n },\n "amount_received": 100,\n "application": null,\n "application_fee_amount": null,\n "automatic_payment_methods": null,\n "canceled_at": null,\n "cancellation_reason": null,\n "capture_method": "automatic",\n "charges": {\n "object": "list",\n "data": [\n {\n "id": "ch_3MUEYeAbmaEugrFT1LFx9DEB",\n "object": "charge",\n "amount": 100,\n "amount_captured": 100,\n "amount_refunded": 0,\n "application": null,\n "application_fee": null,\n "application_fee_amount": null,\n "balance_transaction": "txn_3MUEYeAbmaEugrFT1DW3fQko",\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": "cccc",\n "phone": null\n },\n "calculated_statement_descriptor": "WWW.MYSY-TRAINING.COM",\n "captured": true,\n "created": 1674674664,\n "currency": "eur",\n "customer": "cus_NEhvSySzsgrsOA",\n "description": "Subscription creation",\n "destination": null,\n "dispute": null,\n "disputed": false,\n "failure_balance_transaction": null,\n "failure_code": null,\n "failure_message": null,\n "fraud_details": {},\n "invoice": "in_1MUEYdAbmaEugrFTcqOMdQQV",\n "livemode": true,\n "metadata": {},\n "on_behalf_of": null,\n "order": null,\n "outcome": {\n "network_status": "approved_by_network",\n "reason": null,\n "risk_level": "normal",\n "risk_score": 16,\n "seller_message": "Payment complete.",\n "type": "authorized"\n },\n "paid": true,\n "payment_intent": "pi_3MUEYeAbmaEugrFT14rb4jtz",\n "payment_method": "pm_1MUEY7AbmaEugrFThiniwKTc",\n "payment_method_details": {\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "FR",\n "exp_month": 7,\n "exp_year": 2023,\n "fingerprint": "j5paaonSr9TY5c87",\n "funding": "debit",\n "installments": null,\n "last4": "5244",\n "mandate": null,\n "network": "cartes_bancaires",\n "three_d_secure": {\n "authentication_flow": "challenge",\n "result": "authenticated",\n "result_reason": null,\n "version": "2.1.0"\n },\n "wallet": null\n },\n "type": "card"\n },\n "receipt_email": null,\n "receipt_number": null,\n "receipt_url": "https://pay.stripe.com/receipts/invoices/CAcQARoXChVhY2N0XzFMVVVmQUFibWFFdWdyRlQo7YPGngYyBp3nfIoyWTosFmULTcULWeYKc78G-b6Ne5jITlCUpOJdBcs0B_IGQqYXtxmGG04xEZdOU2A?s=ap",\n "refunded": false,\n "refunds": {\n "object": "list",\n "data": [],\n "has_more": false,\n "total_count": 0,\n "url": "/v1/charges/ch_3MUEYeAbmaEugrFT1LFx9DEB/refunds"\n },\n "review": null,\n "shipping": null,\n "source": null,\n "source_transfer": null,\n "statement_descriptor": null,\n "statement_descriptor_suffix": null,\n "status": "succeeded",\n "transfer_data": null,\n "transfer_group": null\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/charges?payment_intent=pi_3MUEYeAbmaEugrFT14rb4jtz"\n },\n "client_secret": "pi_3MUEYeAbmaEugrFT14rb4jtz_secret_fhXWHtoB1Y93JZlLgDiupcG7A",\n "confirmation_method": "automatic",\n "created": 1674674576,\n "currency": "eur",\n "customer": "cus_NEhvSySzsgrsOA",\n "description": "Subscription creation",\n "invoice": "in_1MUEYdAbmaEugrFTcqOMdQQV",\n "last_payment_error": null,\n "latest_charge": "ch_3MUEYeAbmaEugrFT1LFx9DEB",\n "livemode": true,\n "metadata": {},\n "next_action": null,\n "on_behalf_of": null,\n "payment_method": "pm_1MUEY7AbmaEugrFThiniwKTc",\n "payment_method_options": {\n "card": {\n "installments": null,\n "mandate_options": null,\n "network": null,\n "request_three_d_secure": "automatic"\n },\n "sepa_debit": {}\n },\n "payment_method_types": [\n "card",\n "sepa_debit"\n ],\n "processing": null,\n "receipt_email": null,\n "review": null,\n "setup_future_usage": "off_session",\n "shipping": null,\n "source": null,\n "statement_descriptor": null,\n "statement_descriptor_suffix": null,\n "status": "succeeded",\n "transfer_data": null,\n "transfer_group": null\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/live/logs/req_DlVGd2VvFMAjp5 message='Dashboard link for request' +INFO:root:2023-01-25 20:24:27.944493 : payment_retrieve_status le Payement pi_3MUEYeAbmaEugrFT14rb4jtz est validé +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 20:24:27] "POST /myclass/api/payment_retrieve_status/ HTTP/1.1" 200 - +INFO:root:2023-01-25 20:24:31.808523 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-25 20:24:31.810522 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-25 20:24:31.814036 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 20:24:31] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-01-25 20:24:31.820064 : Connexion du partner recid = a97b61d78f194cd37d3e18ed634c3f623de92d3658f7803691 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 20:24:31] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 20:24:31] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-01-25 20:24:32.364241 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Jan/2023 20:24:32] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\GlobalVariable.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:filelock:Attempting to acquire lock 2074493862672 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2074493862672 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 2074493862672 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2074493862672 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Starting optional update of built-in blacklist. +DEBUG:filelock:Attempting to acquire lock 2074493927504 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2074493927504 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Not updating because file is fresh enough. +DEBUG:filelock:Attempting to release lock 2074493927504 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2074493927504 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Attempting to acquire lock 2074497436816 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2074497436816 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +INFO:root:2023-01-25 20:27:00.761967 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +INFO:root:2023-01-25 20:27:00.761967 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-01-25 20:27:00.761967 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-01-25 20:27:00.761967 : ++ FLASK PORT 5001 ++ +DEBUG:filelock:Attempting to release lock 2074497436816 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2074497436816 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 127-713-359 diff --git a/class_mgt.py b/class_mgt.py index 7386f6f..f84a927 100644 --- a/class_mgt.py +++ b/class_mgt.py @@ -483,7 +483,7 @@ def add_class(diction): else: # Ce n'est pas un compte demo, il faut donc recuperer le display rank tu pack - part_pack coll_pack = MYSY_GV.dbname['pack'] - local_tmp = coll_pack.find({'code_pack': str(part_pack)}) + local_tmp = coll_pack.find({'code_pack': str(part_pack).lower()}) if (local_tmp[0] and "ranking" in local_tmp[0].keys()): if local_tmp[0]['ranking']: @@ -919,7 +919,7 @@ def update_class(diction): coll_pack = MYSY_GV.dbname['pack'] - local_tmp = coll_pack.find({'code_pack':str(part_pack)}) + local_tmp = coll_pack.find({'code_pack':str(part_pack).lower()}) if (local_tmp[0] and "ranking" in local_tmp[0].keys()): if local_tmp[0]['ranking']: diff --git a/data_indexees.csv b/data_indexees.csv index 67af391..99f8284 100644 --- a/data_indexees.csv +++ b/data_indexees.csv @@ -1,4 +1,3 @@ ,index,mots,occurence,moyenne,id_formation,source_field -0,0,prise,1,0.33,GAF_10006,title -1,1,public,1,0.33,GAF_10006,title -2,2,parole,1,0.33,GAF_10006,title +0,0,management,1,0.5,MYSY_10022,title +1,1,fondamentau,1,0.5,MYSY_10022,title diff --git a/strype_payement.py b/strype_payement.py index c6f08db..1f1c2ca 100644 --- a/strype_payement.py +++ b/strype_payement.py @@ -427,7 +427,7 @@ def payment_retrieve_status(diction): now = datetime.now() ret_val = local_coll_name.find_one_and_update({'token': token, 'active': '1', 'locked': '0', 'pack_service':''}, {"$set": - {"pack_service": str(packs), + {"pack_service": str(packs).lower(), "date_update": str(now)} }, upsert=False,