-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnohup.out
511 lines (509 loc) · 42 KB
/
nohup.out
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
[2024-12-02 22:52:54 -0800] [702439] [INFO] Starting gunicorn 23.0.0
[2024-12-02 22:52:54 -0800] [702439] [ERROR] Connection in use: ('0.0.0.0', 8000)
[2024-12-02 22:52:54 -0800] [702439] [ERROR] connection to ('0.0.0.0', 8000) failed: [Errno 98] Address already in use
[2024-12-02 22:52:55 -0800] [702439] [ERROR] Connection in use: ('0.0.0.0', 8000)
[2024-12-02 22:52:55 -0800] [702439] [ERROR] connection to ('0.0.0.0', 8000) failed: [Errno 98] Address already in use
[2024-12-02 22:52:56 -0800] [702439] [ERROR] Connection in use: ('0.0.0.0', 8000)
[2024-12-02 22:52:56 -0800] [702439] [ERROR] connection to ('0.0.0.0', 8000) failed: [Errno 98] Address already in use
[2024-12-02 22:52:57 -0800] [702439] [ERROR] Connection in use: ('0.0.0.0', 8000)
[2024-12-02 22:52:57 -0800] [702439] [ERROR] connection to ('0.0.0.0', 8000) failed: [Errno 98] Address already in use
[2024-12-02 22:52:58 -0800] [702439] [ERROR] Connection in use: ('0.0.0.0', 8000)
[2024-12-02 22:52:58 -0800] [702439] [ERROR] connection to ('0.0.0.0', 8000) failed: [Errno 98] Address already in use
[2024-12-02 22:52:59 -0800] [702439] [ERROR] Can't connect to ('0.0.0.0', 8000)
[2024-12-02 22:53:20 -0800] [703062] [INFO] Starting gunicorn 23.0.0
[2024-12-02 22:53:20 -0800] [703062] [INFO] Listening at: http://0.0.0.0:42187 (703062)
[2024-12-02 22:53:20 -0800] [703062] [INFO] Using worker: sync
[2024-12-02 22:53:20 -0800] [703065] [INFO] Booting worker with pid: 703065
[2024-12-02 22:53:20 -0800] [703066] [INFO] Booting worker with pid: 703066
[2024-12-02 22:53:20 -0800] [703069] [INFO] Booting worker with pid: 703069
[2024-12-02 22:53:21 -0800] [703070] [INFO] Booting worker with pid: 703070
[2024-12-03 01:59:21 -0800] [703062] [INFO] Handling signal: hup
--- Logging error ---
[2024-12-03 01:59:21 -0800] [703062] [ERROR] Worker (pid:703065) was sent SIGHUP!
[2024-12-03 01:59:21 -0800] [703062] [ERROR] Worker (pid:703069) was sent SIGHUP!
[2024-12-03 01:59:21 -0800] [703062] [ERROR] Worker (pid:703070) was sent SIGHUP!
Traceback (most recent call last):
File "/usr/lib64/python3.9/logging/__init__.py", line 1086, in emit
stream.write(msg + self.terminator)
RuntimeError: reentrant call inside <_io.BufferedWriter name='<stderr>'>
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib64/python3.9/logging/__init__.py", line 1086, in emit
stream.write(msg + self.terminator)
File "/nfs/stak/users/kangjoo/cs_340kangjoo/cs340-project/.venv/lib64/python3.9/site-packages/gunicorn/arbiter.py", line 241, in handle_chld
self.reap_workers()
File "/nfs/stak/users/kangjoo/cs_340kangjoo/cs340-project/.venv/lib64/python3.9/site-packages/gunicorn/arbiter.py", line 553, in reap_workers
self.log.error(msg)
File "/nfs/stak/users/kangjoo/cs_340kangjoo/cs340-project/.venv/lib64/python3.9/site-packages/gunicorn/glogging.py", line 271, in error
self.error_log.error(msg, *args, **kwargs)
File "/usr/lib64/python3.9/logging/__init__.py", line 1475, in error
self._log(ERROR, msg, args, **kwargs)
File "/usr/lib64/python3.9/logging/__init__.py", line 1589, in _log
self.handle(record)
File "/usr/lib64/python3.9/logging/__init__.py", line 1599, in handle
self.callHandlers(record)
File "/usr/lib64/python3.9/logging/__init__.py", line 1661, in callHandlers
hdlr.handle(record)
File "/usr/lib64/python3.9/logging/__init__.py", line 952, in handle
self.emit(record)
File "/usr/lib64/python3.9/logging/__init__.py", line 1091, in emit
self.handleError(record)
File "/usr/lib64/python3.9/logging/__init__.py", line 1004, in handleError
sys.stderr.write('--- Logging error ---\n')
RuntimeError: reentrant call inside <_io.BufferedWriter name='<stderr>'>
Call stack:
File "/nfs/stak/users/kangjoo/cs_340kangjoo/cs340-project/.venv/bin/gunicorn", line 8, in <module>
sys.exit(run())
File "/nfs/stak/users/kangjoo/cs_340kangjoo/cs340-project/.venv/lib64/python3.9/site-packages/gunicorn/app/wsgiapp.py", line 66, in run
WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()
File "/nfs/stak/users/kangjoo/cs_340kangjoo/cs340-project/.venv/lib64/python3.9/site-packages/gunicorn/app/base.py", line 235, in run
super().run()
File "/nfs/stak/users/kangjoo/cs_340kangjoo/cs340-project/.venv/lib64/python3.9/site-packages/gunicorn/app/base.py", line 71, in run
Arbiter(self).run()
File "/nfs/stak/users/kangjoo/cs_340kangjoo/cs340-project/.venv/lib64/python3.9/site-packages/gunicorn/arbiter.py", line 222, in run
self.log.info("Handling signal: %s", signame)
File "/nfs/stak/users/kangjoo/cs_340kangjoo/cs340-project/.venv/lib64/python3.9/site-packages/gunicorn/glogging.py", line 277, in info
self.error_log.info(msg, *args, **kwargs)
Message: 'Handling signal: %s'
Arguments: ('hup',)
[2024-12-03 01:59:21 -0800] [703062] [INFO] Hang up: Master
[2024-12-03 01:59:21 -0800] [900793] [INFO] Booting worker with pid: 900793
[2024-12-03 01:59:21 -0800] [900794] [INFO] Booting worker with pid: 900794
[2024-12-03 01:59:21 -0800] [900795] [INFO] Booting worker with pid: 900795
[2024-12-03 01:59:21 -0800] [900796] [INFO] Booting worker with pid: 900796
[2024-12-03 06:37:18 -0800] [703062] [CRITICAL] WORKER TIMEOUT (pid:900795)
[2024-12-03 06:37:18 -0800] [900795] [ERROR] Error handling request (no URI read)
Traceback (most recent call last):
File "/nfs/stak/users/kangjoo/cs_340kangjoo/cs340-project/.venv/lib64/python3.9/site-packages/gunicorn/workers/sync.py", line 133, in handle
req = next(parser)
File "/nfs/stak/users/kangjoo/cs_340kangjoo/cs340-project/.venv/lib64/python3.9/site-packages/gunicorn/http/parser.py", line 41, in __next__
self.mesg = self.mesg_class(self.cfg, self.unreader, self.source_addr, self.req_count)
File "/nfs/stak/users/kangjoo/cs_340kangjoo/cs340-project/.venv/lib64/python3.9/site-packages/gunicorn/http/message.py", line 259, in __init__
super().__init__(cfg, unreader, peer_addr)
File "/nfs/stak/users/kangjoo/cs_340kangjoo/cs340-project/.venv/lib64/python3.9/site-packages/gunicorn/http/message.py", line 60, in __init__
unused = self.parse(self.unreader)
File "/nfs/stak/users/kangjoo/cs_340kangjoo/cs340-project/.venv/lib64/python3.9/site-packages/gunicorn/http/message.py", line 271, in parse
self.get_data(unreader, buf, stop=True)
File "/nfs/stak/users/kangjoo/cs_340kangjoo/cs340-project/.venv/lib64/python3.9/site-packages/gunicorn/http/message.py", line 262, in get_data
data = unreader.read()
File "/nfs/stak/users/kangjoo/cs_340kangjoo/cs340-project/.venv/lib64/python3.9/site-packages/gunicorn/http/unreader.py", line 36, in read
d = self.chunk()
File "/nfs/stak/users/kangjoo/cs_340kangjoo/cs340-project/.venv/lib64/python3.9/site-packages/gunicorn/http/unreader.py", line 63, in chunk
return self.sock.recv(self.mxchunk)
File "/nfs/stak/users/kangjoo/cs_340kangjoo/cs340-project/.venv/lib64/python3.9/site-packages/gunicorn/workers/base.py", line 204, in handle_abort
sys.exit(1)
SystemExit: 1
[2024-12-03 06:37:18 -0800] [900795] [INFO] Worker exiting (pid: 900795)
[2024-12-03 06:37:18 -0800] [1020524] [INFO] Booting worker with pid: 1020524
[2024-12-03 06:38:45 -0800] [703062] [CRITICAL] WORKER TIMEOUT (pid:1020524)
[2024-12-03 06:38:45 -0800] [1020524] [ERROR] Error handling request (no URI read)
Traceback (most recent call last):
File "/nfs/stak/users/kangjoo/cs_340kangjoo/cs340-project/.venv/lib64/python3.9/site-packages/gunicorn/workers/sync.py", line 133, in handle
req = next(parser)
File "/nfs/stak/users/kangjoo/cs_340kangjoo/cs340-project/.venv/lib64/python3.9/site-packages/gunicorn/http/parser.py", line 41, in __next__
self.mesg = self.mesg_class(self.cfg, self.unreader, self.source_addr, self.req_count)
File "/nfs/stak/users/kangjoo/cs_340kangjoo/cs340-project/.venv/lib64/python3.9/site-packages/gunicorn/http/message.py", line 259, in __init__
super().__init__(cfg, unreader, peer_addr)
File "/nfs/stak/users/kangjoo/cs_340kangjoo/cs340-project/.venv/lib64/python3.9/site-packages/gunicorn/http/message.py", line 60, in __init__
unused = self.parse(self.unreader)
File "/nfs/stak/users/kangjoo/cs_340kangjoo/cs340-project/.venv/lib64/python3.9/site-packages/gunicorn/http/message.py", line 271, in parse
self.get_data(unreader, buf, stop=True)
File "/nfs/stak/users/kangjoo/cs_340kangjoo/cs340-project/.venv/lib64/python3.9/site-packages/gunicorn/http/message.py", line 262, in get_data
data = unreader.read()
File "/nfs/stak/users/kangjoo/cs_340kangjoo/cs340-project/.venv/lib64/python3.9/site-packages/gunicorn/http/unreader.py", line 36, in read
d = self.chunk()
File "/nfs/stak/users/kangjoo/cs_340kangjoo/cs340-project/.venv/lib64/python3.9/site-packages/gunicorn/http/unreader.py", line 63, in chunk
return self.sock.recv(self.mxchunk)
File "/nfs/stak/users/kangjoo/cs_340kangjoo/cs340-project/.venv/lib64/python3.9/site-packages/gunicorn/workers/base.py", line 204, in handle_abort
sys.exit(1)
SystemExit: 1
[2024-12-03 06:38:45 -0800] [1020524] [INFO] Worker exiting (pid: 1020524)
[2024-12-03 06:38:45 -0800] [1021086] [INFO] Booting worker with pid: 1021086
[2024-12-03 06:44:49 -0800] [703062] [CRITICAL] WORKER TIMEOUT (pid:900793)
[2024-12-03 06:44:49 -0800] [900793] [ERROR] Error handling request (no URI read)
Traceback (most recent call last):
File "/nfs/stak/users/kangjoo/cs_340kangjoo/cs340-project/.venv/lib64/python3.9/site-packages/gunicorn/workers/sync.py", line 133, in handle
req = next(parser)
File "/nfs/stak/users/kangjoo/cs_340kangjoo/cs340-project/.venv/lib64/python3.9/site-packages/gunicorn/http/parser.py", line 41, in __next__
self.mesg = self.mesg_class(self.cfg, self.unreader, self.source_addr, self.req_count)
File "/nfs/stak/users/kangjoo/cs_340kangjoo/cs340-project/.venv/lib64/python3.9/site-packages/gunicorn/http/message.py", line 259, in __init__
super().__init__(cfg, unreader, peer_addr)
File "/nfs/stak/users/kangjoo/cs_340kangjoo/cs340-project/.venv/lib64/python3.9/site-packages/gunicorn/http/message.py", line 60, in __init__
unused = self.parse(self.unreader)
File "/nfs/stak/users/kangjoo/cs_340kangjoo/cs340-project/.venv/lib64/python3.9/site-packages/gunicorn/http/message.py", line 271, in parse
self.get_data(unreader, buf, stop=True)
File "/nfs/stak/users/kangjoo/cs_340kangjoo/cs340-project/.venv/lib64/python3.9/site-packages/gunicorn/http/message.py", line 262, in get_data
data = unreader.read()
File "/nfs/stak/users/kangjoo/cs_340kangjoo/cs340-project/.venv/lib64/python3.9/site-packages/gunicorn/http/unreader.py", line 36, in read
d = self.chunk()
File "/nfs/stak/users/kangjoo/cs_340kangjoo/cs340-project/.venv/lib64/python3.9/site-packages/gunicorn/http/unreader.py", line 63, in chunk
return self.sock.recv(self.mxchunk)
File "/nfs/stak/users/kangjoo/cs_340kangjoo/cs340-project/.venv/lib64/python3.9/site-packages/gunicorn/workers/base.py", line 204, in handle_abort
sys.exit(1)
SystemExit: 1
[2024-12-03 06:44:49 -0800] [900793] [INFO] Worker exiting (pid: 900793)
[2024-12-03 06:44:49 -0800] [1023600] [INFO] Booting worker with pid: 1023600
[2024-12-03 06:46:14 -0800] [703062] [CRITICAL] WORKER TIMEOUT (pid:1023600)
[2024-12-03 06:46:14 -0800] [1023600] [ERROR] Error handling request (no URI read)
Traceback (most recent call last):
File "/nfs/stak/users/kangjoo/cs_340kangjoo/cs340-project/.venv/lib64/python3.9/site-packages/gunicorn/workers/sync.py", line 133, in handle
req = next(parser)
File "/nfs/stak/users/kangjoo/cs_340kangjoo/cs340-project/.venv/lib64/python3.9/site-packages/gunicorn/http/parser.py", line 41, in __next__
self.mesg = self.mesg_class(self.cfg, self.unreader, self.source_addr, self.req_count)
File "/nfs/stak/users/kangjoo/cs_340kangjoo/cs340-project/.venv/lib64/python3.9/site-packages/gunicorn/http/message.py", line 259, in __init__
super().__init__(cfg, unreader, peer_addr)
File "/nfs/stak/users/kangjoo/cs_340kangjoo/cs340-project/.venv/lib64/python3.9/site-packages/gunicorn/http/message.py", line 60, in __init__
unused = self.parse(self.unreader)
File "/nfs/stak/users/kangjoo/cs_340kangjoo/cs340-project/.venv/lib64/python3.9/site-packages/gunicorn/http/message.py", line 271, in parse
self.get_data(unreader, buf, stop=True)
File "/nfs/stak/users/kangjoo/cs_340kangjoo/cs340-project/.venv/lib64/python3.9/site-packages/gunicorn/http/message.py", line 262, in get_data
data = unreader.read()
File "/nfs/stak/users/kangjoo/cs_340kangjoo/cs340-project/.venv/lib64/python3.9/site-packages/gunicorn/http/unreader.py", line 36, in read
d = self.chunk()
File "/nfs/stak/users/kangjoo/cs_340kangjoo/cs340-project/.venv/lib64/python3.9/site-packages/gunicorn/http/unreader.py", line 63, in chunk
return self.sock.recv(self.mxchunk)
File "/nfs/stak/users/kangjoo/cs_340kangjoo/cs340-project/.venv/lib64/python3.9/site-packages/gunicorn/workers/base.py", line 204, in handle_abort
sys.exit(1)
SystemExit: 1
[2024-12-03 06:46:14 -0800] [1023600] [INFO] Worker exiting (pid: 1023600)
[2024-12-03 06:46:14 -0800] [1024191] [INFO] Booting worker with pid: 1024191
[2024-12-03 06:46:37,882] ERROR in app: Exception on /metrics/edit/4 [GET]
Traceback (most recent call last):
File "/nfs/stak/users/kangjoo/cs_340kangjoo/cs340-project/.venv/lib64/python3.9/site-packages/flask/app.py", line 1511, in wsgi_app
response = self.full_dispatch_request()
File "/nfs/stak/users/kangjoo/cs_340kangjoo/cs340-project/.venv/lib64/python3.9/site-packages/flask/app.py", line 919, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/nfs/stak/users/kangjoo/cs_340kangjoo/cs340-project/.venv/lib64/python3.9/site-packages/flask/app.py", line 917, in full_dispatch_request
rv = self.dispatch_request()
File "/nfs/stak/users/kangjoo/cs_340kangjoo/cs340-project/.venv/lib64/python3.9/site-packages/flask/app.py", line 902, in dispatch_request
return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return]
File "/nfs/stak/users/kangjoo/cs_340kangjoo/cs340-project/app.py", line 361, in edit_metric
cursor = db.cursor(dictionary=True) # Use a dictionary cursor for easier access
NameError: name 'db' is not defined
[2024-12-03 06:46:40,461] ERROR in app: Exception on /metrics/edit/4 [GET]
Traceback (most recent call last):
File "/nfs/stak/users/kangjoo/cs_340kangjoo/cs340-project/.venv/lib64/python3.9/site-packages/flask/app.py", line 1511, in wsgi_app
response = self.full_dispatch_request()
File "/nfs/stak/users/kangjoo/cs_340kangjoo/cs340-project/.venv/lib64/python3.9/site-packages/flask/app.py", line 919, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/nfs/stak/users/kangjoo/cs_340kangjoo/cs340-project/.venv/lib64/python3.9/site-packages/flask/app.py", line 917, in full_dispatch_request
rv = self.dispatch_request()
File "/nfs/stak/users/kangjoo/cs_340kangjoo/cs340-project/.venv/lib64/python3.9/site-packages/flask/app.py", line 902, in dispatch_request
return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return]
File "/nfs/stak/users/kangjoo/cs_340kangjoo/cs340-project/app.py", line 361, in edit_metric
cursor = db.cursor(dictionary=True) # Use a dictionary cursor for easier access
NameError: name 'db' is not defined
[2024-12-03 06:46:51,140] ERROR in app: Exception on /metrics/edit/1 [GET]
Traceback (most recent call last):
File "/nfs/stak/users/kangjoo/cs_340kangjoo/cs340-project/.venv/lib64/python3.9/site-packages/flask/app.py", line 1511, in wsgi_app
response = self.full_dispatch_request()
File "/nfs/stak/users/kangjoo/cs_340kangjoo/cs340-project/.venv/lib64/python3.9/site-packages/flask/app.py", line 919, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/nfs/stak/users/kangjoo/cs_340kangjoo/cs340-project/.venv/lib64/python3.9/site-packages/flask/app.py", line 917, in full_dispatch_request
rv = self.dispatch_request()
File "/nfs/stak/users/kangjoo/cs_340kangjoo/cs340-project/.venv/lib64/python3.9/site-packages/flask/app.py", line 902, in dispatch_request
return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return]
File "/nfs/stak/users/kangjoo/cs_340kangjoo/cs340-project/app.py", line 361, in edit_metric
cursor = db.cursor(dictionary=True) # Use a dictionary cursor for easier access
NameError: name 'db' is not defined
[2024-12-03 06:47:35 -0800] [703062] [CRITICAL] WORKER TIMEOUT (pid:1021086)
[2024-12-03 06:47:35 -0800] [1021086] [ERROR] Error handling request (no URI read)
Traceback (most recent call last):
File "/nfs/stak/users/kangjoo/cs_340kangjoo/cs340-project/.venv/lib64/python3.9/site-packages/gunicorn/workers/sync.py", line 133, in handle
req = next(parser)
File "/nfs/stak/users/kangjoo/cs_340kangjoo/cs340-project/.venv/lib64/python3.9/site-packages/gunicorn/http/parser.py", line 41, in __next__
self.mesg = self.mesg_class(self.cfg, self.unreader, self.source_addr, self.req_count)
File "/nfs/stak/users/kangjoo/cs_340kangjoo/cs340-project/.venv/lib64/python3.9/site-packages/gunicorn/http/message.py", line 259, in __init__
super().__init__(cfg, unreader, peer_addr)
File "/nfs/stak/users/kangjoo/cs_340kangjoo/cs340-project/.venv/lib64/python3.9/site-packages/gunicorn/http/message.py", line 60, in __init__
unused = self.parse(self.unreader)
File "/nfs/stak/users/kangjoo/cs_340kangjoo/cs340-project/.venv/lib64/python3.9/site-packages/gunicorn/http/message.py", line 271, in parse
self.get_data(unreader, buf, stop=True)
File "/nfs/stak/users/kangjoo/cs_340kangjoo/cs340-project/.venv/lib64/python3.9/site-packages/gunicorn/http/message.py", line 262, in get_data
data = unreader.read()
File "/nfs/stak/users/kangjoo/cs_340kangjoo/cs340-project/.venv/lib64/python3.9/site-packages/gunicorn/http/unreader.py", line 36, in read
d = self.chunk()
File "/nfs/stak/users/kangjoo/cs_340kangjoo/cs340-project/.venv/lib64/python3.9/site-packages/gunicorn/http/unreader.py", line 63, in chunk
return self.sock.recv(self.mxchunk)
File "/nfs/stak/users/kangjoo/cs_340kangjoo/cs340-project/.venv/lib64/python3.9/site-packages/gunicorn/workers/base.py", line 204, in handle_abort
sys.exit(1)
SystemExit: 1
[2024-12-03 06:47:35 -0800] [1021086] [INFO] Worker exiting (pid: 1021086)
[2024-12-03 06:47:35 -0800] [1024697] [INFO] Booting worker with pid: 1024697
[2024-12-03 06:49:27 -0800] [703062] [CRITICAL] WORKER TIMEOUT (pid:1024191)
[2024-12-03 06:49:27 -0800] [1024191] [ERROR] Error handling request (no URI read)
Traceback (most recent call last):
File "/nfs/stak/users/kangjoo/cs_340kangjoo/cs340-project/.venv/lib64/python3.9/site-packages/gunicorn/workers/sync.py", line 133, in handle
req = next(parser)
File "/nfs/stak/users/kangjoo/cs_340kangjoo/cs340-project/.venv/lib64/python3.9/site-packages/gunicorn/http/parser.py", line 41, in __next__
self.mesg = self.mesg_class(self.cfg, self.unreader, self.source_addr, self.req_count)
File "/nfs/stak/users/kangjoo/cs_340kangjoo/cs340-project/.venv/lib64/python3.9/site-packages/gunicorn/http/message.py", line 259, in __init__
super().__init__(cfg, unreader, peer_addr)
File "/nfs/stak/users/kangjoo/cs_340kangjoo/cs340-project/.venv/lib64/python3.9/site-packages/gunicorn/http/message.py", line 60, in __init__
unused = self.parse(self.unreader)
File "/nfs/stak/users/kangjoo/cs_340kangjoo/cs340-project/.venv/lib64/python3.9/site-packages/gunicorn/http/message.py", line 271, in parse
self.get_data(unreader, buf, stop=True)
File "/nfs/stak/users/kangjoo/cs_340kangjoo/cs340-project/.venv/lib64/python3.9/site-packages/gunicorn/http/message.py", line 262, in get_data
data = unreader.read()
File "/nfs/stak/users/kangjoo/cs_340kangjoo/cs340-project/.venv/lib64/python3.9/site-packages/gunicorn/http/unreader.py", line 36, in read
d = self.chunk()
File "/nfs/stak/users/kangjoo/cs_340kangjoo/cs340-project/.venv/lib64/python3.9/site-packages/gunicorn/http/unreader.py", line 63, in chunk
return self.sock.recv(self.mxchunk)
File "/nfs/stak/users/kangjoo/cs_340kangjoo/cs340-project/.venv/lib64/python3.9/site-packages/gunicorn/workers/base.py", line 204, in handle_abort
sys.exit(1)
SystemExit: 1
[2024-12-03 06:49:27 -0800] [1024191] [INFO] Worker exiting (pid: 1024191)
[2024-12-03 06:49:27 -0800] [1025507] [INFO] Booting worker with pid: 1025507
[2024-12-03 06:52:58 -0800] [703062] [CRITICAL] WORKER TIMEOUT (pid:900794)
[2024-12-03 06:52:58 -0800] [900794] [ERROR] Error handling request (no URI read)
Traceback (most recent call last):
File "/nfs/stak/users/kangjoo/cs_340kangjoo/cs340-project/.venv/lib64/python3.9/site-packages/gunicorn/workers/sync.py", line 133, in handle
req = next(parser)
File "/nfs/stak/users/kangjoo/cs_340kangjoo/cs340-project/.venv/lib64/python3.9/site-packages/gunicorn/http/parser.py", line 41, in __next__
self.mesg = self.mesg_class(self.cfg, self.unreader, self.source_addr, self.req_count)
File "/nfs/stak/users/kangjoo/cs_340kangjoo/cs340-project/.venv/lib64/python3.9/site-packages/gunicorn/http/message.py", line 259, in __init__
super().__init__(cfg, unreader, peer_addr)
File "/nfs/stak/users/kangjoo/cs_340kangjoo/cs340-project/.venv/lib64/python3.9/site-packages/gunicorn/http/message.py", line 60, in __init__
unused = self.parse(self.unreader)
File "/nfs/stak/users/kangjoo/cs_340kangjoo/cs340-project/.venv/lib64/python3.9/site-packages/gunicorn/http/message.py", line 271, in parse
self.get_data(unreader, buf, stop=True)
File "/nfs/stak/users/kangjoo/cs_340kangjoo/cs340-project/.venv/lib64/python3.9/site-packages/gunicorn/http/message.py", line 262, in get_data
data = unreader.read()
File "/nfs/stak/users/kangjoo/cs_340kangjoo/cs340-project/.venv/lib64/python3.9/site-packages/gunicorn/http/unreader.py", line 36, in read
d = self.chunk()
File "/nfs/stak/users/kangjoo/cs_340kangjoo/cs340-project/.venv/lib64/python3.9/site-packages/gunicorn/http/unreader.py", line 63, in chunk
return self.sock.recv(self.mxchunk)
File "/nfs/stak/users/kangjoo/cs_340kangjoo/cs340-project/.venv/lib64/python3.9/site-packages/gunicorn/workers/base.py", line 204, in handle_abort
sys.exit(1)
SystemExit: 1
[2024-12-03 06:52:58 -0800] [900794] [INFO] Worker exiting (pid: 900794)
[2024-12-03 06:52:58 -0800] [1027290] [INFO] Booting worker with pid: 1027290
[2024-12-03 06:54:01 -0800] [703062] [CRITICAL] WORKER TIMEOUT (pid:1024697)
[2024-12-03 06:54:01 -0800] [1024697] [ERROR] Error handling request (no URI read)
Traceback (most recent call last):
File "/nfs/stak/users/kangjoo/cs_340kangjoo/cs340-project/.venv/lib64/python3.9/site-packages/gunicorn/workers/sync.py", line 133, in handle
req = next(parser)
File "/nfs/stak/users/kangjoo/cs_340kangjoo/cs340-project/.venv/lib64/python3.9/site-packages/gunicorn/http/parser.py", line 41, in __next__
self.mesg = self.mesg_class(self.cfg, self.unreader, self.source_addr, self.req_count)
File "/nfs/stak/users/kangjoo/cs_340kangjoo/cs340-project/.venv/lib64/python3.9/site-packages/gunicorn/http/message.py", line 259, in __init__
super().__init__(cfg, unreader, peer_addr)
File "/nfs/stak/users/kangjoo/cs_340kangjoo/cs340-project/.venv/lib64/python3.9/site-packages/gunicorn/http/message.py", line 60, in __init__
unused = self.parse(self.unreader)
File "/nfs/stak/users/kangjoo/cs_340kangjoo/cs340-project/.venv/lib64/python3.9/site-packages/gunicorn/http/message.py", line 271, in parse
self.get_data(unreader, buf, stop=True)
File "/nfs/stak/users/kangjoo/cs_340kangjoo/cs340-project/.venv/lib64/python3.9/site-packages/gunicorn/http/message.py", line 262, in get_data
data = unreader.read()
File "/nfs/stak/users/kangjoo/cs_340kangjoo/cs340-project/.venv/lib64/python3.9/site-packages/gunicorn/http/unreader.py", line 36, in read
d = self.chunk()
File "/nfs/stak/users/kangjoo/cs_340kangjoo/cs340-project/.venv/lib64/python3.9/site-packages/gunicorn/http/unreader.py", line 63, in chunk
return self.sock.recv(self.mxchunk)
File "/nfs/stak/users/kangjoo/cs_340kangjoo/cs340-project/.venv/lib64/python3.9/site-packages/gunicorn/workers/base.py", line 204, in handle_abort
sys.exit(1)
SystemExit: 1
[2024-12-03 06:54:01 -0800] [1024697] [INFO] Worker exiting (pid: 1024697)
[2024-12-03 06:54:01 -0800] [1027673] [INFO] Booting worker with pid: 1027673
[2024-12-03 21:42:11 -0800] [703062] [CRITICAL] WORKER TIMEOUT (pid:1027290)
[2024-12-03 21:42:11 -0800] [1027290] [ERROR] Error handling request (no URI read)
Traceback (most recent call last):
File "/nfs/stak/users/kangjoo/cs_340kangjoo/cs340-project/.venv/lib64/python3.9/site-packages/gunicorn/workers/sync.py", line 133, in handle
req = next(parser)
File "/nfs/stak/users/kangjoo/cs_340kangjoo/cs340-project/.venv/lib64/python3.9/site-packages/gunicorn/http/parser.py", line 41, in __next__
self.mesg = self.mesg_class(self.cfg, self.unreader, self.source_addr, self.req_count)
File "/nfs/stak/users/kangjoo/cs_340kangjoo/cs340-project/.venv/lib64/python3.9/site-packages/gunicorn/http/message.py", line 259, in __init__
super().__init__(cfg, unreader, peer_addr)
File "/nfs/stak/users/kangjoo/cs_340kangjoo/cs340-project/.venv/lib64/python3.9/site-packages/gunicorn/http/message.py", line 60, in __init__
unused = self.parse(self.unreader)
File "/nfs/stak/users/kangjoo/cs_340kangjoo/cs340-project/.venv/lib64/python3.9/site-packages/gunicorn/http/message.py", line 271, in parse
self.get_data(unreader, buf, stop=True)
File "/nfs/stak/users/kangjoo/cs_340kangjoo/cs340-project/.venv/lib64/python3.9/site-packages/gunicorn/http/message.py", line 262, in get_data
data = unreader.read()
File "/nfs/stak/users/kangjoo/cs_340kangjoo/cs340-project/.venv/lib64/python3.9/site-packages/gunicorn/http/unreader.py", line 36, in read
d = self.chunk()
File "/nfs/stak/users/kangjoo/cs_340kangjoo/cs340-project/.venv/lib64/python3.9/site-packages/gunicorn/http/unreader.py", line 63, in chunk
return self.sock.recv(self.mxchunk)
File "/nfs/stak/users/kangjoo/cs_340kangjoo/cs340-project/.venv/lib64/python3.9/site-packages/gunicorn/workers/base.py", line 204, in handle_abort
sys.exit(1)
SystemExit: 1
[2024-12-03 21:42:11 -0800] [1027290] [INFO] Worker exiting (pid: 1027290)
[2024-12-03 21:42:11 -0800] [1753221] [INFO] Booting worker with pid: 1753221
[2024-12-05 13:02:38 -0800] [703062] [CRITICAL] WORKER TIMEOUT (pid:1753221)
[2024-12-05 13:02:38 -0800] [1753221] [ERROR] Error handling request (no URI read)
Traceback (most recent call last):
File "/nfs/stak/users/kangjoo/cs_340kangjoo/cs340-project/.venv/lib64/python3.9/site-packages/gunicorn/workers/sync.py", line 133, in handle
req = next(parser)
File "/nfs/stak/users/kangjoo/cs_340kangjoo/cs340-project/.venv/lib64/python3.9/site-packages/gunicorn/http/parser.py", line 41, in __next__
self.mesg = self.mesg_class(self.cfg, self.unreader, self.source_addr, self.req_count)
File "/nfs/stak/users/kangjoo/cs_340kangjoo/cs340-project/.venv/lib64/python3.9/site-packages/gunicorn/http/message.py", line 259, in __init__
super().__init__(cfg, unreader, peer_addr)
File "/nfs/stak/users/kangjoo/cs_340kangjoo/cs340-project/.venv/lib64/python3.9/site-packages/gunicorn/http/message.py", line 60, in __init__
unused = self.parse(self.unreader)
File "/nfs/stak/users/kangjoo/cs_340kangjoo/cs340-project/.venv/lib64/python3.9/site-packages/gunicorn/http/message.py", line 271, in parse
self.get_data(unreader, buf, stop=True)
File "/nfs/stak/users/kangjoo/cs_340kangjoo/cs340-project/.venv/lib64/python3.9/site-packages/gunicorn/http/message.py", line 262, in get_data
data = unreader.read()
File "/nfs/stak/users/kangjoo/cs_340kangjoo/cs340-project/.venv/lib64/python3.9/site-packages/gunicorn/http/unreader.py", line 36, in read
d = self.chunk()
File "/nfs/stak/users/kangjoo/cs_340kangjoo/cs340-project/.venv/lib64/python3.9/site-packages/gunicorn/http/unreader.py", line 63, in chunk
return self.sock.recv(self.mxchunk)
File "/nfs/stak/users/kangjoo/cs_340kangjoo/cs340-project/.venv/lib64/python3.9/site-packages/gunicorn/workers/base.py", line 204, in handle_abort
sys.exit(1)
SystemExit: 1
[2024-12-05 13:02:38 -0800] [1753221] [INFO] Worker exiting (pid: 1753221)
[2024-12-05 13:02:38 -0800] [3767332] [INFO] Booting worker with pid: 3767332
[2024-12-05 14:08:46,407] ERROR in app: Exception on /users/add [POST]
Traceback (most recent call last):
File "/nfs/stak/users/kangjoo/cs_340kangjoo/cs340-project/.venv/lib64/python3.9/site-packages/flask/app.py", line 1511, in wsgi_app
response = self.full_dispatch_request()
File "/nfs/stak/users/kangjoo/cs_340kangjoo/cs340-project/.venv/lib64/python3.9/site-packages/flask/app.py", line 919, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/nfs/stak/users/kangjoo/cs_340kangjoo/cs340-project/.venv/lib64/python3.9/site-packages/flask/app.py", line 917, in full_dispatch_request
rv = self.dispatch_request()
File "/nfs/stak/users/kangjoo/cs_340kangjoo/cs340-project/.venv/lib64/python3.9/site-packages/flask/app.py", line 902, in dispatch_request
return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return]
File "/nfs/stak/users/kangjoo/cs_340kangjoo/cs340-project/app.py", line 47, in add_user
cursor.execute("INSERT INTO Users (username, contact) VALUES (%s, %s)", (username, contact))
File "/nfs/stak/users/kangjoo/cs_340kangjoo/cs340-project/.venv/lib64/python3.9/site-packages/mysql/connector/cursor.py", line 551, in execute
self._handle_result(self._connection.cmd_query(stmt))
File "/nfs/stak/users/kangjoo/cs_340kangjoo/cs340-project/.venv/lib64/python3.9/site-packages/mysql/connector/connection.py", line 490, in cmd_query
result = self._handle_result(self._send_cmd(ServerCmd.QUERY, query))
File "/nfs/stak/users/kangjoo/cs_340kangjoo/cs340-project/.venv/lib64/python3.9/site-packages/mysql/connector/connection.py", line 395, in _handle_result
raise errors.get_exception(packet)
mysql.connector.errors.IntegrityError: 1062 (23000): Duplicate entry 'Freddy' for key 'username'
[2024-12-05 14:09:31 -0800] [703062] [CRITICAL] WORKER TIMEOUT (pid:1027673)
[2024-12-05 14:09:31 -0800] [1027673] [ERROR] Error handling request /users/edit/7
Traceback (most recent call last):
File "/nfs/stak/users/kangjoo/cs_340kangjoo/cs340-project/.venv/lib64/python3.9/site-packages/gunicorn/workers/sync.py", line 134, in handle
self.handle_request(listener, req, client, addr)
File "/nfs/stak/users/kangjoo/cs_340kangjoo/cs340-project/.venv/lib64/python3.9/site-packages/gunicorn/workers/sync.py", line 177, in handle_request
respiter = self.wsgi(environ, resp.start_response)
File "/nfs/stak/users/kangjoo/cs_340kangjoo/cs340-project/.venv/lib64/python3.9/site-packages/flask/app.py", line 1536, in __call__
return self.wsgi_app(environ, start_response)
File "/nfs/stak/users/kangjoo/cs_340kangjoo/cs340-project/.venv/lib64/python3.9/site-packages/flask/app.py", line 1511, in wsgi_app
response = self.full_dispatch_request()
File "/nfs/stak/users/kangjoo/cs_340kangjoo/cs340-project/.venv/lib64/python3.9/site-packages/flask/app.py", line 917, in full_dispatch_request
rv = self.dispatch_request()
File "/nfs/stak/users/kangjoo/cs_340kangjoo/cs340-project/.venv/lib64/python3.9/site-packages/flask/app.py", line 902, in dispatch_request
return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return]
File "/nfs/stak/users/kangjoo/cs_340kangjoo/cs340-project/app.py", line 77, in edit_user
cursor.execute("UPDATE Users SET username = %s, contact = %s WHERE user_id = %s", (username, contact, user_id))
File "/nfs/stak/users/kangjoo/cs_340kangjoo/cs340-project/.venv/lib64/python3.9/site-packages/mysql/connector/cursor.py", line 551, in execute
self._handle_result(self._connection.cmd_query(stmt))
File "/nfs/stak/users/kangjoo/cs_340kangjoo/cs340-project/.venv/lib64/python3.9/site-packages/mysql/connector/connection.py", line 490, in cmd_query
result = self._handle_result(self._send_cmd(ServerCmd.QUERY, query))
File "/nfs/stak/users/kangjoo/cs_340kangjoo/cs340-project/.venv/lib64/python3.9/site-packages/mysql/connector/connection.py", line 267, in _send_cmd
return self._socket.recv()
File "/nfs/stak/users/kangjoo/cs_340kangjoo/cs340-project/.venv/lib64/python3.9/site-packages/mysql/connector/network.py", line 241, in recv_plain
chunk = self.sock.recv(4 - packet_len)
File "/nfs/stak/users/kangjoo/cs_340kangjoo/cs340-project/.venv/lib64/python3.9/site-packages/gunicorn/workers/base.py", line 204, in handle_abort
sys.exit(1)
SystemExit: 1
[2024-12-05 14:09:31 -0800] [1027673] [INFO] Worker exiting (pid: 1027673)
[2024-12-05 14:09:31 -0800] [3928201] [INFO] Booting worker with pid: 3928201
[2024-12-05 14:09:42 -0800] [703062] [CRITICAL] WORKER TIMEOUT (pid:900796)
[2024-12-05 14:09:42 -0800] [900796] [ERROR] Error handling request /users/delete/7
Traceback (most recent call last):
File "/nfs/stak/users/kangjoo/cs_340kangjoo/cs340-project/.venv/lib64/python3.9/site-packages/gunicorn/workers/sync.py", line 134, in handle
self.handle_request(listener, req, client, addr)
File "/nfs/stak/users/kangjoo/cs_340kangjoo/cs340-project/.venv/lib64/python3.9/site-packages/gunicorn/workers/sync.py", line 177, in handle_request
respiter = self.wsgi(environ, resp.start_response)
File "/nfs/stak/users/kangjoo/cs_340kangjoo/cs340-project/.venv/lib64/python3.9/site-packages/flask/app.py", line 1536, in __call__
return self.wsgi_app(environ, start_response)
File "/nfs/stak/users/kangjoo/cs_340kangjoo/cs340-project/.venv/lib64/python3.9/site-packages/flask/app.py", line 1511, in wsgi_app
response = self.full_dispatch_request()
File "/nfs/stak/users/kangjoo/cs_340kangjoo/cs340-project/.venv/lib64/python3.9/site-packages/flask/app.py", line 917, in full_dispatch_request
rv = self.dispatch_request()
File "/nfs/stak/users/kangjoo/cs_340kangjoo/cs340-project/.venv/lib64/python3.9/site-packages/flask/app.py", line 902, in dispatch_request
return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return]
File "/nfs/stak/users/kangjoo/cs_340kangjoo/cs340-project/app.py", line 60, in delete_user
cursor.execute("DELETE FROM Users WHERE user_id = %s", (user_id,))
File "/nfs/stak/users/kangjoo/cs_340kangjoo/cs340-project/.venv/lib64/python3.9/site-packages/mysql/connector/cursor.py", line 551, in execute
self._handle_result(self._connection.cmd_query(stmt))
File "/nfs/stak/users/kangjoo/cs_340kangjoo/cs340-project/.venv/lib64/python3.9/site-packages/mysql/connector/connection.py", line 490, in cmd_query
result = self._handle_result(self._send_cmd(ServerCmd.QUERY, query))
File "/nfs/stak/users/kangjoo/cs_340kangjoo/cs340-project/.venv/lib64/python3.9/site-packages/mysql/connector/connection.py", line 267, in _send_cmd
return self._socket.recv()
File "/nfs/stak/users/kangjoo/cs_340kangjoo/cs340-project/.venv/lib64/python3.9/site-packages/mysql/connector/network.py", line 241, in recv_plain
chunk = self.sock.recv(4 - packet_len)
File "/nfs/stak/users/kangjoo/cs_340kangjoo/cs340-project/.venv/lib64/python3.9/site-packages/gunicorn/workers/base.py", line 204, in handle_abort
sys.exit(1)
SystemExit: 1
[2024-12-05 14:09:42 -0800] [900796] [INFO] Worker exiting (pid: 900796)
[2024-12-05 14:09:42 -0800] [3928658] [INFO] Booting worker with pid: 3928658
[2024-12-05 14:19:07,498] ERROR in app: Exception on /users/add [POST]
Traceback (most recent call last):
File "/nfs/stak/users/kangjoo/cs_340kangjoo/cs340-project/.venv/lib64/python3.9/site-packages/flask/app.py", line 1511, in wsgi_app
response = self.full_dispatch_request()
File "/nfs/stak/users/kangjoo/cs_340kangjoo/cs340-project/.venv/lib64/python3.9/site-packages/flask/app.py", line 919, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/nfs/stak/users/kangjoo/cs_340kangjoo/cs340-project/.venv/lib64/python3.9/site-packages/flask/app.py", line 917, in full_dispatch_request
rv = self.dispatch_request()
File "/nfs/stak/users/kangjoo/cs_340kangjoo/cs340-project/.venv/lib64/python3.9/site-packages/flask/app.py", line 902, in dispatch_request
return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return]
File "/nfs/stak/users/kangjoo/cs_340kangjoo/cs340-project/app.py", line 47, in add_user
cursor.execute("INSERT INTO Users (username, contact) VALUES (%s, %s)", (username, contact))
File "/nfs/stak/users/kangjoo/cs_340kangjoo/cs340-project/.venv/lib64/python3.9/site-packages/mysql/connector/cursor.py", line 551, in execute
self._handle_result(self._connection.cmd_query(stmt))
File "/nfs/stak/users/kangjoo/cs_340kangjoo/cs340-project/.venv/lib64/python3.9/site-packages/mysql/connector/connection.py", line 490, in cmd_query
result = self._handle_result(self._send_cmd(ServerCmd.QUERY, query))
File "/nfs/stak/users/kangjoo/cs_340kangjoo/cs340-project/.venv/lib64/python3.9/site-packages/mysql/connector/connection.py", line 395, in _handle_result
raise errors.get_exception(packet)
mysql.connector.errors.IntegrityError: 1062 (23000): Duplicate entry 'joonhyungkang' for key 'username'
[2024-12-05 14:23:22 -0800] [703062] [CRITICAL] WORKER TIMEOUT (pid:1025507)
[2024-12-05 14:23:22 -0800] [1025507] [ERROR] Error handling request (no URI read)
Traceback (most recent call last):
File "/nfs/stak/users/kangjoo/cs_340kangjoo/cs340-project/.venv/lib64/python3.9/site-packages/gunicorn/workers/sync.py", line 133, in handle
req = next(parser)
File "/nfs/stak/users/kangjoo/cs_340kangjoo/cs340-project/.venv/lib64/python3.9/site-packages/gunicorn/http/parser.py", line 41, in __next__
self.mesg = self.mesg_class(self.cfg, self.unreader, self.source_addr, self.req_count)
File "/nfs/stak/users/kangjoo/cs_340kangjoo/cs340-project/.venv/lib64/python3.9/site-packages/gunicorn/http/message.py", line 259, in __init__
super().__init__(cfg, unreader, peer_addr)
File "/nfs/stak/users/kangjoo/cs_340kangjoo/cs340-project/.venv/lib64/python3.9/site-packages/gunicorn/http/message.py", line 60, in __init__
unused = self.parse(self.unreader)
File "/nfs/stak/users/kangjoo/cs_340kangjoo/cs340-project/.venv/lib64/python3.9/site-packages/gunicorn/http/message.py", line 271, in parse
self.get_data(unreader, buf, stop=True)
File "/nfs/stak/users/kangjoo/cs_340kangjoo/cs340-project/.venv/lib64/python3.9/site-packages/gunicorn/http/message.py", line 262, in get_data
data = unreader.read()
File "/nfs/stak/users/kangjoo/cs_340kangjoo/cs340-project/.venv/lib64/python3.9/site-packages/gunicorn/http/unreader.py", line 36, in read
d = self.chunk()
File "/nfs/stak/users/kangjoo/cs_340kangjoo/cs340-project/.venv/lib64/python3.9/site-packages/gunicorn/http/unreader.py", line 63, in chunk
return self.sock.recv(self.mxchunk)
File "/nfs/stak/users/kangjoo/cs_340kangjoo/cs340-project/.venv/lib64/python3.9/site-packages/gunicorn/workers/base.py", line 204, in handle_abort
sys.exit(1)
SystemExit: 1
[2024-12-05 14:23:22 -0800] [1025507] [INFO] Worker exiting (pid: 1025507)
[2024-12-05 14:23:22 -0800] [3946014] [INFO] Booting worker with pid: 3946014
[2024-12-05 14:28:32,047] ERROR in app: Exception on /session-exercises/add [POST]
Traceback (most recent call last):
File "/nfs/stak/users/kangjoo/cs_340kangjoo/cs340-project/.venv/lib64/python3.9/site-packages/flask/app.py", line 1511, in wsgi_app
response = self.full_dispatch_request()
File "/nfs/stak/users/kangjoo/cs_340kangjoo/cs340-project/.venv/lib64/python3.9/site-packages/flask/app.py", line 919, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/nfs/stak/users/kangjoo/cs_340kangjoo/cs340-project/.venv/lib64/python3.9/site-packages/flask/app.py", line 917, in full_dispatch_request
rv = self.dispatch_request()
File "/nfs/stak/users/kangjoo/cs_340kangjoo/cs340-project/.venv/lib64/python3.9/site-packages/flask/app.py", line 902, in dispatch_request
return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return]
File "/nfs/stak/users/kangjoo/cs_340kangjoo/cs340-project/app.py", line 207, in add_session_exercise
cursor.execute("""
File "/nfs/stak/users/kangjoo/cs_340kangjoo/cs340-project/.venv/lib64/python3.9/site-packages/mysql/connector/cursor.py", line 551, in execute
self._handle_result(self._connection.cmd_query(stmt))
File "/nfs/stak/users/kangjoo/cs_340kangjoo/cs340-project/.venv/lib64/python3.9/site-packages/mysql/connector/connection.py", line 490, in cmd_query
result = self._handle_result(self._send_cmd(ServerCmd.QUERY, query))
File "/nfs/stak/users/kangjoo/cs_340kangjoo/cs340-project/.venv/lib64/python3.9/site-packages/mysql/connector/connection.py", line 395, in _handle_result
raise errors.get_exception(packet)
mysql.connector.errors.IntegrityError: 1452 (23000): Cannot add or update a child row: a foreign key constraint fails (`cs340_kangjoo`.`SessionExercises`, CONSTRAINT `SessionExercises_ibfk_1` FOREIGN KEY (`workout_session_id`) REFERENCES `WorkoutSessions` (`workout_session_id`) ON DELETE CASCADE)
[2024-12-08 19:03:27 -0800] [703062] [ERROR] Worker (pid:3946014) was sent SIGKILL! Perhaps out of memory?
[2024-12-08 19:03:27 -0800] [2542885] [INFO] Booting worker with pid: 2542885
[2024-12-08 19:03:33 -0800] [703062] [ERROR] Worker (pid:3928658) was sent SIGKILL! Perhaps out of memory?
[2024-12-08 19:03:33 -0800] [2543005] [INFO] Booting worker with pid: 2543005
[2024-12-08 19:03:41 -0800] [703062] [ERROR] Worker (pid:3928201) was sent SIGKILL! Perhaps out of memory?
[2024-12-08 19:03:41 -0800] [2543114] [INFO] Booting worker with pid: 2543114
[2024-12-08 19:03:49 -0800] [703062] [ERROR] Worker (pid:3767332) was sent SIGKILL! Perhaps out of memory?
[2024-12-08 19:03:49 -0800] [2543231] [INFO] Booting worker with pid: 2543231
[2024-12-08 19:03:56 -0800] [2543114] [INFO] Parent changed, shutting down: <Worker 2543114>
[2024-12-08 19:03:56 -0800] [2543114] [INFO] Worker exiting (pid: 2543114)
[2024-12-08 19:03:59 -0800] [2542885] [INFO] Parent changed, shutting down: <Worker 2542885>
[2024-12-08 19:03:59 -0800] [2542885] [INFO] Worker exiting (pid: 2542885)
[2024-12-08 19:04:04 -0800] [2543005] [INFO] Parent changed, shutting down: <Worker 2543005>
[2024-12-08 19:04:04 -0800] [2543005] [INFO] Worker exiting (pid: 2543005)
[2024-12-08 19:04:04 -0800] [2543231] [INFO] Parent changed, shutting down: <Worker 2543231>
[2024-12-08 19:04:04 -0800] [2543231] [INFO] Worker exiting (pid: 2543231)