· 7 years ago · Jul 05, 2018, 01:52 PM
1
2root@raspberrypi:/home/pi/timurtek 2018# python app.py
3 * Running on http://0.0.0.0:5000/ (Press CTRL+C to quit)
4 * Restarting with stat
5 * Debugger is active!
6 * Debugger pin code: 760-600-853
7/usr/local/lib/python2.7/dist-packages/pymysql/cursors.py:329: Warning: (1050, u "Table 'registration_users' already exists")
8 self._do_get_result()
9table 1 created successfully
10/usr/local/lib/python2.7/dist-packages/pymysql/cursors.py:329: Warning: (1050, u "Table 'payment_details' already exists")
11 self._do_get_result()
12table 2 created successfully
13/usr/local/lib/python2.7/dist-packages/pymysql/cursors.py:329: Warning: (1050, u "Table 'users_system' already exists")
14 self._do_get_result()
15table 3 created successfully
16192.168.1.122 - - [05/Jul/2018 13:13:31] "GET / HTTP/1.1" 200 -
17table 1 created successfully
18table 2 created successfully
19table 3 created successfully
20192.168.1.122 - - [05/Jul/2018 13:13:32] "GET / HTTP/1.1" 200 -
21192.168.1.122 - - [05/Jul/2018 13:13:32] "GET /static/bootstrap.css HTTP/1.1" 30 4 -
22192.168.1.122 - - [05/Jul/2018 13:13:32] "GET /static/login.css HTTP/1.1" 304 -
23192.168.1.122 - - [05/Jul/2018 13:13:32] "GET /static/English-flag.png HTTP/1.1" 304 -
24192.168.1.122 - - [05/Jul/2018 13:13:32] "GET /static/french-flag.png HTTP/1.1" 304 -
25192.168.1.122 - - [05/Jul/2018 13:13:32] "GET /static/jquery.js HTTP/1.1" 304 -
26192.168.1.122 - - [05/Jul/2018 13:13:32] "GET /static/login.js HTTP/1.1" 304 -
27192.168.1.122 - - [05/Jul/2018 13:13:32] "GET /static/spain-flag.png HTTP/1.1" 3 04 -
28192.168.1.122 - - [05/Jul/2018 13:13:33] "GET /favicon.ico HTTP/1.1" 404 -
29language= French
30french
31192.168.1.122 - - [05/Jul/2018 13:13:37] "GET /register HTTP/1.1" 200 -
32192.168.1.122 - - [05/Jul/2018 13:13:37] "GET /static/register.css HTTP/1.1" 304 -
33192.168.1.122 - - [05/Jul/2018 13:13:37] "GET /static/register.js HTTP/1.1" 304 -
34192.168.1.122 - - [05/Jul/2018 13:13:40] "POST /checkEmail HTTP/1.1" 200 -
35register process controller
36Roman3967
37insert query= insert into registration_users (f_name, l_name, email, password,co nfirm_password,help_section,history_table_name,registration_date) values ( 'Roma n','Josuan','roromanou@gmail.com', 'e2c57890195eacb12ff5dda8ed2d2a11c20a847e3448 fd42cbeaefca5db4e3fb', 'e2c57890195eacb12ff5dda8ed2d2a11c20a847e3448fd42cbeaefca 5db4e3fb','Right.png','Roman3967','2018-07-05 13:13')
38table created successfully
39Oops! Something wrong
40192.168.1.122 - - [05/Jul/2018 13:13:51] "POST /registrationProcess HTTP/1.1" 20 0 -
41plan selected
42192.168.1.122 - - [05/Jul/2018 13:13:53] "POST /firstPlan HTTP/1.1" 200 -
43192.168.1.122 - - [05/Jul/2018 13:13:53] "POST /checkMacAddress HTTP/1.1" 200 -
44plan selected
45192.168.1.122 - - [05/Jul/2018 13:14:35] "POST /firstPlan HTTP/1.1" 200 -
46192.168.1.122 - - [05/Jul/2018 13:14:35] "POST /checkMacAddress HTTP/1.1" 200 -
47192.168.1.122 - - [05/Jul/2018 13:14:36] "GET /showPaypal HTTP/1.1" 200 -
48payament
49Payment success
50192.168.1.122 - - [05/Jul/2018 13:14:46] "POST /payment HTTP/1.1" 200 -
51success True
52send: 'ehlo [127.0.1.1]\r\n'
53reply: '250-smtp.gmail.com at your service, [37.173.223.174]\r\n'
54reply: '250-SIZE 35882577\r\n'
55reply: '250-8BITMIME\r\n'
56reply: '250-AUTH LOGIN PLAIN XOAUTH2 PLAIN-CLIENTTOKEN OAUTHBEARER XOAUTH\r\n'
57reply: '250-ENHANCEDSTATUSCODES\r\n'
58reply: '250-PIPELINING\r\n'
59reply: '250-CHUNKING\r\n'
60reply: '250 SMTPUTF8\r\n'
61reply: retcode (250); Msg: smtp.gmail.com at your service, [37.173.223.174]
62SIZE 35882577
638BITMIME
64AUTH LOGIN PLAIN XOAUTH2 PLAIN-CLIENTTOKEN OAUTHBEARER XOAUTH
65ENHANCEDSTATUSCODES
66PIPELINING
67CHUNKING
68SMTPUTF8
69send: 'AUTH PLAIN AGlzaGVuZHJhcHJhdGFwMkBnbWFpbC5jb20AZGdtaGRnZGc=\r\n'
70reply: '535-5.7.8 Username and Password not accepted. Learn more at\r\n'
71reply: '535 5.7.8 https://support.google.com/mail/?p=BadCredentials w109-v6sm13 457235wrb.70 - gsmtp\r\n'
72reply: retcode (535); Msg: 5.7.8 Username and Password not accepted. Learn more at
735.7.8 https://support.google.com/mail/?p=BadCredentials w109-v6sm13457235wrb.70 - gsmtp
74error
7501:15:48 PM
76data stored
77192.168.1.122 - - [05/Jul/2018 13:15:48] "POST /execute HTTP/1.1" 200 -
78table 1 created successfully
79table 2 created successfully
80table 3 created successfully
81192.168.1.122 - - [05/Jul/2018 13:38:53] "GET / HTTP/1.1" 200 -
82language= French
83french
84192.168.1.122 - - [05/Jul/2018 13:38:57] "GET /register HTTP/1.1" 200 -
85192.168.1.122 - - [05/Jul/2018 13:38:58] "POST /checkEmail HTTP/1.1" 200 -
86language= French
87french
88192.168.1.122 - - [05/Jul/2018 13:39:25] "GET /register HTTP/1.1" 200 -
89language= French
90french
91192.168.1.122 - - [05/Jul/2018 13:42:21] "GET /register HTTP/1.1" 200 -
92192.168.1.122 - - [05/Jul/2018 13:42:23] "POST /checkEmail HTTP/1.1" 200 -
93register process controller
94Roman1469
95insert query= insert into registration_users (f_name, l_name, email, password,co nfirm_password,help_section,history_table_name,registration_date) values ( 'Roma n','Josuan','roromanou@gmail.com', '043a718774c572bd8a25adbeb1bfcd5c0256ae11cecf 9f9c3f925d0e52beaf89', '043a718774c572bd8a25adbeb1bfcd5c0256ae11cecf9f9c3f925d0e 52beaf89','Right.png','Roman1469','2018-07-05 13:42')
96table created successfully
97Oops! Something wrong
98192.168.1.122 - - [05/Jul/2018 13:42:27] "POST /registrationProcess HTTP/1.1" 20 0 -
99plan selected
100192.168.1.122 - - [05/Jul/2018 13:42:31] "POST /firstPlan HTTP/1.1" 200 -
101192.168.1.122 - - [05/Jul/2018 13:42:32] "POST /checkMacAddress HTTP/1.1" 200 -
102language= French
103french
104192.168.1.122 - - [05/Jul/2018 13:42:37] "GET /register HTTP/1.1" 200 -
105192.168.1.122 - - [05/Jul/2018 13:42:38] "POST /checkEmail HTTP/1.1" 200 -
106register process controller
107Roman2641
108insert query= insert into registration_users (f_name, l_name, email, password,co nfirm_password,help_section,history_table_name,registration_date) values ( 'Roma n','Josuan','roromanou@gmail.com', '043a718774c572bd8a25adbeb1bfcd5c0256ae11cecf 9f9c3f925d0e52beaf89', '043a718774c572bd8a25adbeb1bfcd5c0256ae11cecf9f9c3f925d0e 52beaf89','Right.png','Roman2641','2018-07-05 13:42')
109table created successfully
110Oops! Something wrong
111192.168.1.122 - - [05/Jul/2018 13:42:41] "POST /registrationProcess HTTP/1.1" 20 0 -
112plan selected
113192.168.1.122 - - [05/Jul/2018 13:42:42] "POST /firstPlan HTTP/1.1" 200 -
114192.168.1.122 - - [05/Jul/2018 13:42:42] "POST /checkMacAddress HTTP/1.1" 200 -
115192.168.1.122 - - [05/Jul/2018 13:42:45] "GET /showPaypal HTTP/1.1" 200 -
116payament
117Payment success
118192.168.1.122 - - [05/Jul/2018 13:42:53] "POST /payment HTTP/1.1" 200 -
119success True
120send: 'ehlo [127.0.1.1]\r\n'
121reply: '250-smtp.gmail.com at your service, [37.173.223.174]\r\n'
122reply: '250-SIZE 35882577\r\n'
123reply: '250-8BITMIME\r\n'
124reply: '250-AUTH LOGIN PLAIN XOAUTH2 PLAIN-CLIENTTOKEN OAUTHBEARER XOAUTH\r\n'
125reply: '250-ENHANCEDSTATUSCODES\r\n'
126reply: '250-PIPELINING\r\n'
127reply: '250-CHUNKING\r\n'
128reply: '250 SMTPUTF8\r\n'
129reply: retcode (250); Msg: smtp.gmail.com at your service, [37.173.223.174]
130SIZE 35882577
1318BITMIME
132AUTH LOGIN PLAIN XOAUTH2 PLAIN-CLIENTTOKEN OAUTHBEARER XOAUTH
133ENHANCEDSTATUSCODES
134PIPELINING
135CHUNKING
136SMTPUTF8
137send: 'AUTH PLAIN AGlzaGVuZHJhcHJhdGFwMkBnbWFpbC5jb20AZGdtaGRnZGc=\r\n'
138reply: '535-5.7.8 Username and Password not accepted. Learn more at\r\n'
139reply: '535 5.7.8 https://support.google.com/mail/?p=BadCredentials s12-v6sm247 0115wmc.2 - gsmtp\r\n'
140reply: retcode (535); Msg: 5.7.8 Username and Password not accepted. Learn more at
1415.7.8 https://support.google.com/mail/?p=BadCredentials s12-v6sm2470115wmc.2 - gsmtp
142error
14301:43:26 PM
144data stored
145192.168.1.122 - - [05/Jul/2018 13:43:26] "POST /execute HTTP/1.1" 200 -
146 french
147192.168.1.122 - - [05/Jul/2018 13:43:29] "GET /showSystemName HTTP/1.1" 200 -
148192.168.1.122 - - [05/Jul/2018 13:43:29] "GET /static/apple-logo.png HTTP/1.1" 3 04 -
149192.168.1.122 - - [05/Jul/2018 13:43:30] "GET /static/windows-logo.png HTTP/1.1" 304 -
150192.168.1.122 - - [05/Jul/2018 13:43:30] "GET /static/android-logo.png HTTP/1.1" 200 -
151192.168.1.122 - - [05/Jul/2018 13:43:30] "GET /static/smartphone.png HTTP/1.1" 2 00 -
152plan info 3 Week plan has purchased and mac address is B8:27:eb:70:11:84 and exp iration date is 2018-07-11
153Task added successfully
154second try
15501:43:34 PM
156after execute
157data stored
158192.168.1.122 - - [05/Jul/2018 13:43:34] "POST /userSystemName HTTP/1.1" 200 -
159language after payment= French
160french
161192.168.1.122 - - [05/Jul/2018 13:43:43] "GET /languageLogin HTTP/1.1" 200 -
162Oops! Something wrong...
163Josuan
164failed
165192.168.1.122 - - [05/Jul/2018 13:44:37] "POST /login HTTP/1.1" 500 -
166Traceback (most recent call last):
167 File "/usr/lib/python2.7/dist-packages/flask/app.py", line 1997, in __call__
168 return self.wsgi_app(environ, start_response)
169 File "/usr/lib/python2.7/dist-packages/flask/app.py", line 1985, in wsgi_app
170 response = self.handle_exception(e)
171 File "/usr/lib/python2.7/dist-packages/flask/app.py", line 1540, in handle_exc eption
172 reraise(exc_type, exc_value, tb)
173 File "/usr/lib/python2.7/dist-packages/flask/app.py", line 1982, in wsgi_app
174 response = self.full_dispatch_request()
175 File "/usr/lib/python2.7/dist-packages/flask/app.py", line 1614, in full_dispa tch_request
176 rv = self.handle_user_exception(e)
177 File "/usr/lib/python2.7/dist-packages/flask/app.py", line 1517, in handle_use r_exception
178 reraise(exc_type, exc_value, tb)
179 File "/usr/lib/python2.7/dist-packages/flask/app.py", line 1612, in full_dispa tch_request
180 rv = self.dispatch_request()
181 File "/usr/lib/python2.7/dist-packages/flask/app.py", line 1598, in dispatch_r equest
182 return self.view_functions[rule.endpoint](**req.view_args)
183 File "/home/pi/timurtek 2018/app.py", line 421, in login
184 return render_template('FrenchLogin.html',massage1=massage)
185 File "/usr/lib/python2.7/dist-packages/flask/templating.py", line 133, in rend er_template
186 return _render(ctx.app.jinja_env.get_or_select_template(template_name_or_lis t),
187 File "/usr/lib/python2.7/dist-packages/jinja2/environment.py", line 851, in ge t_or_select_template
188 return self.get_template(template_name_or_list, parent, globals)
189 File "/usr/lib/python2.7/dist-packages/jinja2/environment.py", line 812, in ge t_template
190 return self._load_template(name, self.make_globals(globals))
191 File "/usr/lib/python2.7/dist-packages/jinja2/environment.py", line 774, in _l oad_template
192 cache_key = self.loader.get_source(self, name)[1]
193 File "/usr/lib/python2.7/dist-packages/flask/templating.py", line 57, in get_s ource
194 return self._get_source_fast(environment, template)
195 File "/usr/lib/python2.7/dist-packages/flask/templating.py", line 85, in _get_ source_fast
196 raise TemplateNotFound(template)
197TemplateNotFound: FrenchLogin.html
198192.168.1.122 - - [05/Jul/2018 13:44:37] "GET /login?__debugger__=yes&cmd=resour ce&f=style.css HTTP/1.1" 200 -
199192.168.1.122 - - [05/Jul/2018 13:44:37] "GET /login?__debugger__=yes&cmd=resour ce&f=jquery.js HTTP/1.1" 200 -
200192.168.1.122 - - [05/Jul/2018 13:44:37] "GET /login?__debugger__=yes&cmd=resour ce&f=debugger.js HTTP/1.1" 200 -
201192.168.1.122 - - [05/Jul/2018 13:44:37] "GET /login?__debugger__=yes&cmd=resour ce&f=console.png HTTP/1.1" 200 -
202192.168.1.122 - - [05/Jul/2018 13:44:37] "GET /login?__debugger__=yes&cmd=resour ce&f=console.png HTTP/1.1" 200 -
203Oops! Something wrong...
204Josuan
205failed
206192.168.1.122 - - [05/Jul/2018 13:45:18] "POST /login HTTP/1.1" 500 -
207Traceback (most recent call last):
208 File "/usr/lib/python2.7/dist-packages/flask/app.py", line 1997, in __call__
209 return self.wsgi_app(environ, start_response)
210 File "/usr/lib/python2.7/dist-packages/flask/app.py", line 1985, in wsgi_app
211 response = self.handle_exception(e)
212 File "/usr/lib/python2.7/dist-packages/flask/app.py", line 1540, in handle_exc eption
213 reraise(exc_type, exc_value, tb)
214 File "/usr/lib/python2.7/dist-packages/flask/app.py", line 1982, in wsgi_app
215 response = self.full_dispatch_request()
216 File "/usr/lib/python2.7/dist-packages/flask/app.py", line 1614, in full_dispa tch_request
217 rv = self.handle_user_exception(e)
218 File "/usr/lib/python2.7/dist-packages/flask/app.py", line 1517, in handle_use r_exception
219 reraise(exc_type, exc_value, tb)
220 File "/usr/lib/python2.7/dist-packages/flask/app.py", line 1612, in full_dispa tch_request
221 rv = self.dispatch_request()
222 File "/usr/lib/python2.7/dist-packages/flask/app.py", line 1598, in dispatch_r equest
223 return self.view_functions[rule.endpoint](**req.view_args)
224 File "/home/pi/timurtek 2018/app.py", line 421, in login
225 return render_template('FrenchLogin.html',massage1=massage)
226 File "/usr/lib/python2.7/dist-packages/flask/templating.py", line 133, in rend er_template
227 return _render(ctx.app.jinja_env.get_or_select_template(template_name_or_lis t),
228 File "/usr/lib/python2.7/dist-packages/jinja2/environment.py", line 851, in ge t_or_select_template
229 return self.get_template(template_name_or_list, parent, globals)
230 File "/usr/lib/python2.7/dist-packages/jinja2/environment.py", line 812, in ge t_template
231 return self._load_template(name, self.make_globals(globals))
232 File "/usr/lib/python2.7/dist-packages/jinja2/environment.py", line 774, in _l oad_template
233 cache_key = self.loader.get_source(self, name)[1]
234 File "/usr/lib/python2.7/dist-packages/flask/templating.py", line 57, in get_s ource
235 return self._get_source_fast(environment, template)
236 File "/usr/lib/python2.7/dist-packages/flask/templating.py", line 85, in _get_ source_fast
237 raise TemplateNotFound(template)
238TemplateNotFound: FrenchLogin.html
239192.168.1.122 - - [05/Jul/2018 13:45:18] "GET /login?__debugger__=yes&cmd=resour ce&f=style.css HTTP/1.1" 200 -
240192.168.1.122 - - [05/Jul/2018 13:45:18] "GET /login?__debugger__=yes&cmd=resour ce&f=jquery.js HTTP/1.1" 200 -
241192.168.1.122 - - [05/Jul/2018 13:45:18] "GET /login?__debugger__=yes&cmd=resour ce&f=debugger.js HTTP/1.1" 200 -
242192.168.1.122 - - [05/Jul/2018 13:45:18] "GET /login?__debugger__=yes&cmd=resour ce&f=console.png HTTP/1.1" 200 -