[2024-08-15 23:11:40 +0800] [212476] [INFO] Starting gunicorn 23.0.0 [2024-08-15 23:11:40 +0800] [212476] [INFO] Listening at: http://127.0.0.1:8000 (212476) [2024-08-15 23:11:40 +0800] [212476] [INFO] Using worker: sync [2024-08-15 23:11:40 +0800] [212477] [INFO] Booting worker with pid: 212477 [2024-08-15 23:11:40 +0800] [212479] [INFO] Booting worker with pid: 212479 [2024-08-15 23:11:40 +0800] [212481] [INFO] Booting worker with pid: 212481 [2024-08-15 23:11:40 +0800] [212483] [INFO] Booting worker with pid: 212483 [2024-08-15 23:12:58 +0800] [212483] [INFO] Parent changed, shutting down: [2024-08-15 23:12:58 +0800] [212483] [INFO] Worker exiting (pid: 212483) [2024-08-15 23:12:58 +0800] [212477] [INFO] Parent changed, shutting down: [2024-08-15 23:12:58 +0800] [212477] [INFO] Worker exiting (pid: 212477) [2024-08-15 23:12:58 +0800] [212479] [INFO] Parent changed, shutting down: [2024-08-15 23:12:58 +0800] [212479] [INFO] Worker exiting (pid: 212479) [2024-08-15 23:12:58 +0800] [212481] [INFO] Parent changed, shutting down: [2024-08-15 23:12:58 +0800] [212481] [INFO] Worker exiting (pid: 212481) [2024-08-15 23:13:49 +0800] [212592] [INFO] Starting gunicorn 23.0.0 [2024-08-15 23:13:49 +0800] [212592] [INFO] Listening at: http://127.0.0.1:5000 (212592) [2024-08-15 23:13:49 +0800] [212592] [INFO] Using worker: sync [2024-08-15 23:13:49 +0800] [212593] [INFO] Booting worker with pid: 212593 [2024-08-15 23:13:49 +0800] [212595] [INFO] Booting worker with pid: 212595 [2024-08-15 23:13:49 +0800] [212597] [INFO] Booting worker with pid: 212597 [2024-08-15 23:13:49 +0800] [212599] [INFO] Booting worker with pid: 212599 [2024-08-15 23:34:07 +0800] [212595] [INFO] Parent changed, shutting down: [2024-08-15 23:34:07 +0800] [212595] [INFO] Worker exiting (pid: 212595) [2024-08-15 23:34:07 +0800] [212597] [INFO] Parent changed, shutting down: [2024-08-15 23:34:07 +0800] [212597] [INFO] Worker exiting (pid: 212597) [2024-08-15 23:34:07 +0800] [212599] [INFO] Parent changed, shutting down: [2024-08-15 23:34:07 +0800] [212599] [INFO] Worker exiting (pid: 212599) [2024-08-15 23:44:47 +0800] [215295] [INFO] Starting gunicorn 23.0.0 [2024-08-15 23:44:47 +0800] [215295] [INFO] Listening at: http://127.0.0.1:5000 (215295) [2024-08-15 23:44:47 +0800] [215295] [INFO] Using worker: sync [2024-08-15 23:44:47 +0800] [215296] [INFO] Booting worker with pid: 215296 [2024-08-15 23:44:47 +0800] [215297] [INFO] Booting worker with pid: 215297 [2024-08-15 23:44:47 +0800] [215300] [INFO] Booting worker with pid: 215300 [2024-08-15 23:44:47 +0800] [215301] [INFO] Booting worker with pid: 215301 [2024-08-16 00:21:52 +0800] [215297] [INFO] Parent changed, shutting down: [2024-08-16 00:21:52 +0800] [215297] [INFO] Worker exiting (pid: 215297) [2024-08-16 00:21:52 +0800] [215301] [INFO] Parent changed, shutting down: [2024-08-16 00:21:52 +0800] [215301] [INFO] Worker exiting (pid: 215301) [2024-08-16 00:21:52 +0800] [215300] [INFO] Parent changed, shutting down: [2024-08-16 00:21:52 +0800] [215300] [INFO] Worker exiting (pid: 215300) [2024-08-16 00:22:24 +0800] [219054] [INFO] Starting gunicorn 23.0.0 [2024-08-16 00:22:24 +0800] [219054] [INFO] Listening at: http://127.0.0.1:5000 (219054) [2024-08-16 00:22:24 +0800] [219054] [INFO] Using worker: sync [2024-08-16 00:22:24 +0800] [219055] [INFO] Booting worker with pid: 219055 [2024-08-16 00:22:24 +0800] [219055] [ERROR] Exception in worker process Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/gunicorn/arbiter.py", line 608, in spawn_worker worker.init_process() File "/usr/local/lib/python3.10/dist-packages/gunicorn/workers/base.py", line 135, in init_process self.load_wsgi() File "/usr/local/lib/python3.10/dist-packages/gunicorn/workers/base.py", line 147, in load_wsgi self.wsgi = self.app.wsgi() File "/usr/local/lib/python3.10/dist-packages/gunicorn/app/base.py", line 66, in wsgi self.callable = self.load() File "/usr/local/lib/python3.10/dist-packages/gunicorn/app/wsgiapp.py", line 57, in load return self.load_wsgiapp() File "/usr/local/lib/python3.10/dist-packages/gunicorn/app/wsgiapp.py", line 47, in load_wsgiapp return util.import_app(self.app_uri) File "/usr/local/lib/python3.10/dist-packages/gunicorn/util.py", line 370, in import_app mod = importlib.import_module(module) File "/usr/lib/python3.10/importlib/__init__.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "", line 1050, in _gcd_import File "", line 1027, in _find_and_load File "", line 1006, in _find_and_load_unlocked File "", line 688, in _load_unlocked File "", line 883, in exec_module File "", line 241, in _call_with_frames_removed File "/root/ggpx_statistics/app.py", line 3, in import CORS ModuleNotFoundError: No module named 'CORS' [2024-08-16 00:22:24 +0800] [219055] [INFO] Worker exiting (pid: 219055) [2024-08-16 00:22:24 +0800] [219054] [ERROR] Worker (pid:219055) exited with code 3 [2024-08-16 00:22:24 +0800] [219054] [ERROR] Shutting down: Master [2024-08-16 00:22:24 +0800] [219054] [ERROR] Reason: Worker failed to boot. [2024-08-16 11:26:09 +0800] [241284] [INFO] Starting gunicorn 23.0.0 [2024-08-16 11:26:09 +0800] [241284] [INFO] Listening at: http://127.0.0.1:5000 (241284) [2024-08-16 11:26:09 +0800] [241284] [INFO] Using worker: sync [2024-08-16 11:26:09 +0800] [241285] [INFO] Booting worker with pid: 241285 [2024-08-16 11:26:09 +0800] [241285] [ERROR] Exception in worker process Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/gunicorn/arbiter.py", line 608, in spawn_worker worker.init_process() File "/usr/local/lib/python3.10/dist-packages/gunicorn/workers/base.py", line 135, in init_process self.load_wsgi() File "/usr/local/lib/python3.10/dist-packages/gunicorn/workers/base.py", line 147, in load_wsgi self.wsgi = self.app.wsgi() File "/usr/local/lib/python3.10/dist-packages/gunicorn/app/base.py", line 66, in wsgi self.callable = self.load() File "/usr/local/lib/python3.10/dist-packages/gunicorn/app/wsgiapp.py", line 57, in load return self.load_wsgiapp() File "/usr/local/lib/python3.10/dist-packages/gunicorn/app/wsgiapp.py", line 47, in load_wsgiapp return util.import_app(self.app_uri) File "/usr/local/lib/python3.10/dist-packages/gunicorn/util.py", line 370, in import_app mod = importlib.import_module(module) File "/usr/lib/python3.10/importlib/__init__.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "", line 1050, in _gcd_import File "", line 1027, in _find_and_load File "", line 1006, in _find_and_load_unlocked File "", line 688, in _load_unlocked File "", line 883, in exec_module File "", line 241, in _call_with_frames_removed File "/root/ggpx_statistics/app.py", line 3, in import CORS ModuleNotFoundError: No module named 'CORS' [2024-08-16 11:26:09 +0800] [241285] [INFO] Worker exiting (pid: 241285) [2024-08-16 11:26:09 +0800] [241284] [ERROR] Worker (pid:241285) exited with code 3 [2024-08-16 11:26:09 +0800] [241284] [ERROR] Shutting down: Master [2024-08-16 11:26:09 +0800] [241284] [ERROR] Reason: Worker failed to boot. [2024-08-16 11:26:20 +0800] [241355] [INFO] Starting gunicorn 23.0.0 [2024-08-16 11:26:20 +0800] [241355] [INFO] Listening at: http://127.0.0.1:5000 (241355) [2024-08-16 11:26:20 +0800] [241355] [INFO] Using worker: sync [2024-08-16 11:26:20 +0800] [241356] [INFO] Booting worker with pid: 241356 [2024-08-16 11:26:20 +0800] [241356] [ERROR] Exception in worker process Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/gunicorn/arbiter.py", line 608, in spawn_worker worker.init_process() File "/usr/local/lib/python3.10/dist-packages/gunicorn/workers/base.py", line 135, in init_process self.load_wsgi() File "/usr/local/lib/python3.10/dist-packages/gunicorn/workers/base.py", line 147, in load_wsgi self.wsgi = self.app.wsgi() File "/usr/local/lib/python3.10/dist-packages/gunicorn/app/base.py", line 66, in wsgi self.callable = self.load() File "/usr/local/lib/python3.10/dist-packages/gunicorn/app/wsgiapp.py", line 57, in load return self.load_wsgiapp() File "/usr/local/lib/python3.10/dist-packages/gunicorn/app/wsgiapp.py", line 47, in load_wsgiapp return util.import_app(self.app_uri) File "/usr/local/lib/python3.10/dist-packages/gunicorn/util.py", line 370, in import_app mod = importlib.import_module(module) File "/usr/lib/python3.10/importlib/__init__.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "", line 1050, in _gcd_import File "", line 1027, in _find_and_load File "", line 1006, in _find_and_load_unlocked File "", line 688, in _load_unlocked File "", line 883, in exec_module File "", line 241, in _call_with_frames_removed File "/root/ggpx_statistics/app.py", line 3, in import CORS ModuleNotFoundError: No module named 'CORS' [2024-08-16 11:26:20 +0800] [241356] [INFO] Worker exiting (pid: 241356) [2024-08-16 11:26:20 +0800] [241357] [INFO] Booting worker with pid: 241357 [2024-08-16 11:26:20 +0800] [241357] [ERROR] Exception in worker process Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/gunicorn/arbiter.py", line 608, in spawn_worker worker.init_process() File "/usr/local/lib/python3.10/dist-packages/gunicorn/workers/base.py", line 135, in init_process self.load_wsgi() File "/usr/local/lib/python3.10/dist-packages/gunicorn/workers/base.py", line 147, in load_wsgi self.wsgi = self.app.wsgi() File "/usr/local/lib/python3.10/dist-packages/gunicorn/app/base.py", line 66, in wsgi self.callable = self.load() File "/usr/local/lib/python3.10/dist-packages/gunicorn/app/wsgiapp.py", line 57, in load return self.load_wsgiapp() File "/usr/local/lib/python3.10/dist-packages/gunicorn/app/wsgiapp.py", line 47, in load_wsgiapp return util.import_app(self.app_uri) File "/usr/local/lib/python3.10/dist-packages/gunicorn/util.py", line 370, in import_app mod = importlib.import_module(module) File "/usr/lib/python3.10/importlib/__init__.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "", line 1050, in _gcd_import File "", line 1027, in _find_and_load File "", line 1006, in _find_and_load_unlocked File "", line 688, in _load_unlocked File "", line 883, in exec_module File "", line 241, in _call_with_frames_removed File "/root/ggpx_statistics/app.py", line 3, in import CORS ModuleNotFoundError: No module named 'CORS' [2024-08-16 11:26:20 +0800] [241357] [INFO] Worker exiting (pid: 241357) [2024-08-16 11:26:20 +0800] [241355] [ERROR] Worker (pid:241356) exited with code 3 [2024-08-16 11:26:20 +0800] [241355] [ERROR] Worker (pid:241357) was sent SIGTERM! [2024-08-16 11:26:20 +0800] [241355] [ERROR] Shutting down: Master [2024-08-16 11:26:20 +0800] [241355] [ERROR] Reason: Worker failed to boot. [2024-08-16 11:27:00 +0800] [241521] [INFO] Starting gunicorn 23.0.0 [2024-08-16 11:27:00 +0800] [241521] [INFO] Listening at: http://127.0.0.1:5000 (241521) [2024-08-16 11:27:00 +0800] [241521] [INFO] Using worker: sync [2024-08-16 11:27:00 +0800] [241522] [INFO] Booting worker with pid: 241522 [2024-08-16 11:27:00 +0800] [241524] [INFO] Booting worker with pid: 241524 [2024-08-16 11:27:00 +0800] [241526] [INFO] Booting worker with pid: 241526 [2024-08-16 11:27:00 +0800] [241528] [INFO] Booting worker with pid: 241528 [2024-08-16 16:43:01 +0800] [241521] [ERROR] Worker (pid:241526) was sent SIGKILL! Perhaps out of memory? [2024-08-16 16:43:01 +0800] [257653] [INFO] Booting worker with pid: 257653 [2024-08-16 16:43:01 +0800] [257653] [INFO] Worker exiting (pid: 257653) [2024-08-16 16:43:01 +0800] [241521] [ERROR] Worker (pid:257653) exited with code 4 [2024-08-16 16:43:01 +0800] [241524] [INFO] Worker exiting (pid: 241524) [2024-08-16 16:43:01 +0800] [241528] [INFO] Worker exiting (pid: 241528) [2024-08-16 16:43:01 +0800] [241522] [INFO] Worker exiting (pid: 241522) [2024-08-16 16:43:04 +0800] [241521] [ERROR] Shutting down: Master [2024-08-16 16:43:04 +0800] [241521] [ERROR] Reason: App failed to load. [2024-08-16 18:27:54 +0800] [281199] [INFO] Starting gunicorn 23.0.0 [2024-08-16 18:27:54 +0800] [281199] [INFO] Listening at: http://127.0.0.1:5000 (281199) [2024-08-16 18:27:54 +0800] [281199] [INFO] Using worker: sync [2024-08-16 18:27:54 +0800] [281200] [INFO] Booting worker with pid: 281200 [2024-08-16 18:27:54 +0800] [281201] [INFO] Booting worker with pid: 281201 [2024-08-16 18:27:54 +0800] [281202] [INFO] Booting worker with pid: 281202 [2024-08-16 18:27:54 +0800] [281203] [INFO] Booting worker with pid: 281203 [2024-08-16 18:34:13 +0800] [281199] [ERROR] Worker (pid:281201) was sent SIGKILL! Perhaps out of memory? [2024-08-16 18:34:13 +0800] [282683] [INFO] Booting worker with pid: 282683 [2024-08-16 18:34:21 +0800] [281199] [ERROR] Worker (pid:281202) was sent SIGKILL! Perhaps out of memory? [2024-08-16 18:34:21 +0800] [282689] [INFO] Booting worker with pid: 282689 [2024-08-16 18:34:33 +0800] [281200] [INFO] Parent changed, shutting down: [2024-08-16 18:34:33 +0800] [281200] [INFO] Worker exiting (pid: 281200) [2024-08-16 18:34:35 +0800] [281203] [INFO] Parent changed, shutting down: [2024-08-16 18:34:35 +0800] [281203] [INFO] Worker exiting (pid: 281203) [2024-08-16 18:34:35 +0800] [282683] [INFO] Parent changed, shutting down: [2024-08-16 18:34:35 +0800] [282683] [INFO] Worker exiting (pid: 282683) [2024-08-16 18:34:37 +0800] [282689] [INFO] Parent changed, shutting down: [2024-08-16 18:34:37 +0800] [282689] [INFO] Worker exiting (pid: 282689) [2024-08-16 18:34:46 +0800] [282697] [INFO] Starting gunicorn 23.0.0 [2024-08-16 18:34:46 +0800] [282697] [INFO] Listening at: http://0.0.0.0:5000 (282697) [2024-08-16 18:34:46 +0800] [282697] [INFO] Using worker: sync [2024-08-16 18:34:46 +0800] [282698] [INFO] Booting worker with pid: 282698 [2024-08-16 18:34:46 +0800] [282700] [INFO] Booting worker with pid: 282700 [2024-08-16 18:34:47 +0800] [282702] [INFO] Booting worker with pid: 282702 [2024-08-16 18:34:47 +0800] [282704] [INFO] Booting worker with pid: 282704 [2024-08-16 18:37:21,945] ERROR in app: Exception on /statistics/similarity/2016 [GET] Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/urllib3/connection.py", line 174, in _new_conn conn = connection.create_connection( File "/usr/local/lib/python3.10/dist-packages/urllib3/util/connection.py", line 95, in create_connection raise err File "/usr/local/lib/python3.10/dist-packages/urllib3/util/connection.py", line 85, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/urllib3/connectionpool.py", line 715, in urlopen httplib_response = self._make_request( File "/usr/local/lib/python3.10/dist-packages/urllib3/connectionpool.py", line 416, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/local/lib/python3.10/dist-packages/urllib3/connection.py", line 244, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.10/http/client.py", line 1283, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.10/http/client.py", line 1329, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.10/http/client.py", line 1278, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.10/http/client.py", line 1038, in _send_output self.send(msg) File "/usr/lib/python3.10/http/client.py", line 976, in send self.connect() File "/usr/local/lib/python3.10/dist-packages/urllib3/connection.py", line 205, in connect conn = self._new_conn() File "/usr/local/lib/python3.10/dist-packages/urllib3/connection.py", line 186, in _new_conn raise NewConnectionError( urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/requests/adapters.py", line 489, in send resp = conn.urlopen( File "/usr/local/lib/python3.10/dist-packages/urllib3/connectionpool.py", line 801, in urlopen retries = retries.increment( File "/usr/local/lib/python3.10/dist-packages/urllib3/util/retry.py", line 594, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=80): Max retries exceeded with url: /dev-api/ggpx/TaskData/toEXCEL2 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1473, in wsgi_app response = self.full_dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 882, in full_dispatch_request rv = self.handle_user_exception(e) File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 880, in full_dispatch_request rv = self.dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 865, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return] File "/root/ggpx_statistics/app.py", line 70, in similarity matrix = pd.read_excel(handleGetData(id), index_col=0) File "/root/ggpx_statistics/app.py", line 24, in handleGetData resp = requests.post("http://localhost:80/dev-api/ggpx/TaskData/toEXCEL2", {"taskId": taskId}) File "/usr/local/lib/python3.10/dist-packages/requests/api.py", line 115, in post return request("post", url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.10/dist-packages/requests/api.py", line 59, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.10/dist-packages/requests/sessions.py", line 587, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.10/dist-packages/requests/sessions.py", line 701, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.10/dist-packages/requests/adapters.py", line 565, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=80): Max retries exceeded with url: /dev-api/ggpx/TaskData/toEXCEL2 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) [2024-08-16 18:39:40 +0800] [284184] [INFO] Starting gunicorn 23.0.0 [2024-08-16 18:39:40 +0800] [284184] [ERROR] Connection in use: ('0.0.0.0', 5000) [2024-08-16 18:39:40 +0800] [284184] [ERROR] connection to ('0.0.0.0', 5000) failed: [Errno 98] Address already in use [2024-08-16 18:39:41 +0800] [284184] [ERROR] Connection in use: ('0.0.0.0', 5000) [2024-08-16 18:39:41 +0800] [284184] [ERROR] connection to ('0.0.0.0', 5000) failed: [Errno 98] Address already in use [2024-08-16 18:39:42 +0800] [284184] [ERROR] Connection in use: ('0.0.0.0', 5000) [2024-08-16 18:39:42 +0800] [284184] [ERROR] connection to ('0.0.0.0', 5000) failed: [Errno 98] Address already in use [2024-08-16 18:39:43 +0800] [284184] [ERROR] Connection in use: ('0.0.0.0', 5000) [2024-08-16 18:39:43 +0800] [284184] [ERROR] connection to ('0.0.0.0', 5000) failed: [Errno 98] Address already in use [2024-08-16 18:39:44 +0800] [284184] [ERROR] Connection in use: ('0.0.0.0', 5000) [2024-08-16 18:39:44 +0800] [284184] [ERROR] connection to ('0.0.0.0', 5000) failed: [Errno 98] Address already in use [2024-08-16 18:39:45 +0800] [284184] [ERROR] Can't connect to ('0.0.0.0', 5000) [2024-08-16 18:40:04 +0800] [282704] [INFO] Parent changed, shutting down: [2024-08-16 18:40:04 +0800] [282704] [INFO] Worker exiting (pid: 282704) [2024-08-16 18:40:04 +0800] [282700] [INFO] Parent changed, shutting down: [2024-08-16 18:40:04 +0800] [282700] [INFO] Worker exiting (pid: 282700) [2024-08-16 18:40:07 +0800] [282702] [INFO] Parent changed, shutting down: [2024-08-16 18:40:07 +0800] [282702] [INFO] Worker exiting (pid: 282702) [2024-08-16 18:40:14 +0800] [284193] [INFO] Starting gunicorn 23.0.0 [2024-08-16 18:40:14 +0800] [284193] [INFO] Listening at: http://0.0.0.0:5000 (284193) [2024-08-16 18:40:14 +0800] [284193] [INFO] Using worker: sync [2024-08-16 18:40:14 +0800] [284194] [INFO] Booting worker with pid: 284194 [2024-08-16 18:40:14 +0800] [284195] [INFO] Booting worker with pid: 284195 [2024-08-16 18:40:14 +0800] [284196] [INFO] Booting worker with pid: 284196 [2024-08-16 18:40:14 +0800] [284197] [INFO] Booting worker with pid: 284197 [2024-08-16 18:40:20,973] ERROR in app: Exception on /statistics/similarity/2016 [GET] Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1473, in wsgi_app response = self.full_dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 882, in full_dispatch_request rv = self.handle_user_exception(e) File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 880, in full_dispatch_request rv = self.dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 865, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return] File "/root/ggpx_statistics/app.py", line 70, in similarity matrix = pd.read_excel(handleGetData(id), index_col=0) File "/usr/local/lib/python3.10/dist-packages/pandas/io/excel/_base.py", line 478, in read_excel io = ExcelFile(io, storage_options=storage_options, engine=engine) File "/usr/local/lib/python3.10/dist-packages/pandas/io/excel/_base.py", line 1500, in __init__ raise ValueError( ValueError: Excel file format cannot be determined, you must specify an engine manually. [2024-08-16 18:40:23,763] ERROR in app: Exception on /statistics/similarity/2016 [GET] Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1473, in wsgi_app response = self.full_dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 882, in full_dispatch_request rv = self.handle_user_exception(e) File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 880, in full_dispatch_request rv = self.dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 865, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return] File "/root/ggpx_statistics/app.py", line 70, in similarity matrix = pd.read_excel(handleGetData(id), index_col=0) File "/usr/local/lib/python3.10/dist-packages/pandas/io/excel/_base.py", line 478, in read_excel io = ExcelFile(io, storage_options=storage_options, engine=engine) File "/usr/local/lib/python3.10/dist-packages/pandas/io/excel/_base.py", line 1500, in __init__ raise ValueError( ValueError: Excel file format cannot be determined, you must specify an engine manually. [2024-08-16 18:42:03,724] ERROR in app: Exception on /statistics/similarity/2016 [GET] Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1473, in wsgi_app response = self.full_dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 882, in full_dispatch_request rv = self.handle_user_exception(e) File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 880, in full_dispatch_request rv = self.dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 865, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return] File "/root/ggpx_statistics/app.py", line 70, in similarity matrix = pd.read_excel(handleGetData(id), index_col=0) File "/usr/local/lib/python3.10/dist-packages/pandas/io/excel/_base.py", line 478, in read_excel io = ExcelFile(io, storage_options=storage_options, engine=engine) File "/usr/local/lib/python3.10/dist-packages/pandas/io/excel/_base.py", line 1500, in __init__ raise ValueError( ValueError: Excel file format cannot be determined, you must specify an engine manually. [2024-08-16 18:44:11,272] ERROR in app: Exception on /statistics/similarity/2016 [GET] Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1473, in wsgi_app response = self.full_dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 882, in full_dispatch_request rv = self.handle_user_exception(e) File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 880, in full_dispatch_request rv = self.dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 865, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return] File "/root/ggpx_statistics/app.py", line 70, in similarity matrix = pd.read_excel(handleGetData(id), index_col=0) File "/usr/local/lib/python3.10/dist-packages/pandas/io/excel/_base.py", line 478, in read_excel io = ExcelFile(io, storage_options=storage_options, engine=engine) File "/usr/local/lib/python3.10/dist-packages/pandas/io/excel/_base.py", line 1500, in __init__ raise ValueError( ValueError: Excel file format cannot be determined, you must specify an engine manually. [2024-08-16 18:46:50 +0800] [284193] [ERROR] Worker (pid:284194) was sent SIGKILL! Perhaps out of memory? [2024-08-16 18:46:50 +0800] [284368] [INFO] Booting worker with pid: 284368 [2024-08-16 18:46:56 +0800] [284196] [INFO] Parent changed, shutting down: [2024-08-16 18:46:56 +0800] [284196] [INFO] Worker exiting (pid: 284196) [2024-08-16 18:46:56 +0800] [284197] [INFO] Parent changed, shutting down: [2024-08-16 18:46:56 +0800] [284197] [INFO] Worker exiting (pid: 284197) [2024-08-16 18:47:08 +0800] [284368] [INFO] Parent changed, shutting down: [2024-08-16 18:47:08 +0800] [284368] [INFO] Worker exiting (pid: 284368) [2024-08-16 18:47:19 +0800] [284418] [INFO] Starting gunicorn 23.0.0 [2024-08-16 18:47:19 +0800] [284418] [INFO] Listening at: http://0.0.0.0:5000 (284418) [2024-08-16 18:47:19 +0800] [284418] [INFO] Using worker: sync [2024-08-16 18:47:19 +0800] [284419] [INFO] Booting worker with pid: 284419 [2024-08-16 18:47:19 +0800] [284422] [INFO] Booting worker with pid: 284422 [2024-08-16 18:47:19 +0800] [284421] [INFO] Booting worker with pid: 284421 [2024-08-16 18:47:19 +0800] [284425] [INFO] Booting worker with pid: 284425 [2024-08-16 18:47:24,758] ERROR in app: Exception on /statistics/similarity/2016 [GET] Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1473, in wsgi_app response = self.full_dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 882, in full_dispatch_request rv = self.handle_user_exception(e) File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 880, in full_dispatch_request rv = self.dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 865, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return] File "/root/ggpx_statistics/app.py", line 70, in similarity matrix = pd.read_excel(handleGetData(id), index_col=0, engine='openpyxl') File "/usr/local/lib/python3.10/dist-packages/pandas/io/excel/_base.py", line 478, in read_excel io = ExcelFile(io, storage_options=storage_options, engine=engine) File "/usr/local/lib/python3.10/dist-packages/pandas/io/excel/_base.py", line 1513, in __init__ self._reader = self._engines[engine](self._io, storage_options=storage_options) File "/usr/local/lib/python3.10/dist-packages/pandas/io/excel/_openpyxl.py", line 549, in __init__ super().__init__(filepath_or_buffer, storage_options=storage_options) File "/usr/local/lib/python3.10/dist-packages/pandas/io/excel/_base.py", line 540, in __init__ self.book = self.load_workbook(self.handles.handle) File "/usr/local/lib/python3.10/dist-packages/pandas/io/excel/_openpyxl.py", line 560, in load_workbook return load_workbook( File "/usr/local/lib/python3.10/dist-packages/openpyxl/reader/excel.py", line 346, in load_workbook reader = ExcelReader(filename, read_only, keep_vba, File "/usr/local/lib/python3.10/dist-packages/openpyxl/reader/excel.py", line 123, in __init__ self.archive = _validate_archive(fn) File "/usr/local/lib/python3.10/dist-packages/openpyxl/reader/excel.py", line 95, in _validate_archive archive = ZipFile(filename, 'r') File "/usr/lib/python3.10/zipfile.py", line 1269, in __init__ self._RealGetContents() File "/usr/lib/python3.10/zipfile.py", line 1336, in _RealGetContents raise BadZipFile("File is not a zip file") zipfile.BadZipFile: File is not a zip file [2024-08-16 18:47:27,812] ERROR in app: Exception on /statistics/similarity/2016 [GET] Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1473, in wsgi_app response = self.full_dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 882, in full_dispatch_request rv = self.handle_user_exception(e) File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 880, in full_dispatch_request rv = self.dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 865, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return] File "/root/ggpx_statistics/app.py", line 70, in similarity matrix = pd.read_excel(handleGetData(id), index_col=0, engine='openpyxl') File "/usr/local/lib/python3.10/dist-packages/pandas/io/excel/_base.py", line 478, in read_excel io = ExcelFile(io, storage_options=storage_options, engine=engine) File "/usr/local/lib/python3.10/dist-packages/pandas/io/excel/_base.py", line 1513, in __init__ self._reader = self._engines[engine](self._io, storage_options=storage_options) File "/usr/local/lib/python3.10/dist-packages/pandas/io/excel/_openpyxl.py", line 549, in __init__ super().__init__(filepath_or_buffer, storage_options=storage_options) File "/usr/local/lib/python3.10/dist-packages/pandas/io/excel/_base.py", line 540, in __init__ self.book = self.load_workbook(self.handles.handle) File "/usr/local/lib/python3.10/dist-packages/pandas/io/excel/_openpyxl.py", line 560, in load_workbook return load_workbook( File "/usr/local/lib/python3.10/dist-packages/openpyxl/reader/excel.py", line 346, in load_workbook reader = ExcelReader(filename, read_only, keep_vba, File "/usr/local/lib/python3.10/dist-packages/openpyxl/reader/excel.py", line 123, in __init__ self.archive = _validate_archive(fn) File "/usr/local/lib/python3.10/dist-packages/openpyxl/reader/excel.py", line 95, in _validate_archive archive = ZipFile(filename, 'r') File "/usr/lib/python3.10/zipfile.py", line 1269, in __init__ self._RealGetContents() File "/usr/lib/python3.10/zipfile.py", line 1336, in _RealGetContents raise BadZipFile("File is not a zip file") zipfile.BadZipFile: File is not a zip file [2024-08-16 18:48:04,626] ERROR in app: Exception on /statistics/radar/2016 [GET] Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1473, in wsgi_app response = self.full_dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 882, in full_dispatch_request rv = self.handle_user_exception(e) File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 880, in full_dispatch_request rv = self.dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 865, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return] File "/root/ggpx_statistics/app.py", line 38, in radar data = pd.read_excel(handleGetData(id), index_col=0, engine='openpyxl') File "/usr/local/lib/python3.10/dist-packages/pandas/io/excel/_base.py", line 478, in read_excel io = ExcelFile(io, storage_options=storage_options, engine=engine) File "/usr/local/lib/python3.10/dist-packages/pandas/io/excel/_base.py", line 1513, in __init__ self._reader = self._engines[engine](self._io, storage_options=storage_options) File "/usr/local/lib/python3.10/dist-packages/pandas/io/excel/_openpyxl.py", line 549, in __init__ super().__init__(filepath_or_buffer, storage_options=storage_options) File "/usr/local/lib/python3.10/dist-packages/pandas/io/excel/_base.py", line 540, in __init__ self.book = self.load_workbook(self.handles.handle) File "/usr/local/lib/python3.10/dist-packages/pandas/io/excel/_openpyxl.py", line 560, in load_workbook return load_workbook( File "/usr/local/lib/python3.10/dist-packages/openpyxl/reader/excel.py", line 346, in load_workbook reader = ExcelReader(filename, read_only, keep_vba, File "/usr/local/lib/python3.10/dist-packages/openpyxl/reader/excel.py", line 123, in __init__ self.archive = _validate_archive(fn) File "/usr/local/lib/python3.10/dist-packages/openpyxl/reader/excel.py", line 95, in _validate_archive archive = ZipFile(filename, 'r') File "/usr/lib/python3.10/zipfile.py", line 1269, in __init__ self._RealGetContents() File "/usr/lib/python3.10/zipfile.py", line 1336, in _RealGetContents raise BadZipFile("File is not a zip file") zipfile.BadZipFile: File is not a zip file [2024-08-16 18:49:49 +0800] [284425] [INFO] Parent changed, shutting down: [2024-08-16 18:49:49 +0800] [284425] [INFO] Worker exiting (pid: 284425) [2024-08-16 18:49:49 +0800] [284422] [INFO] Parent changed, shutting down: [2024-08-16 18:49:49 +0800] [284422] [INFO] Worker exiting (pid: 284422) [2024-08-16 18:49:54 +0800] [284421] [INFO] Parent changed, shutting down: [2024-08-16 18:49:54 +0800] [284421] [INFO] Worker exiting (pid: 284421) [2024-08-16 18:51:14 +0800] [284540] [INFO] Starting gunicorn 23.0.0 [2024-08-16 18:51:14 +0800] [284540] [INFO] Listening at: http://0.0.0.0:5000 (284540) [2024-08-16 18:51:14 +0800] [284540] [INFO] Using worker: sync [2024-08-16 18:51:14 +0800] [284541] [INFO] Booting worker with pid: 284541 [2024-08-16 18:51:15 +0800] [284543] [INFO] Booting worker with pid: 284543 [2024-08-16 18:51:15 +0800] [284544] [INFO] Booting worker with pid: 284544 [2024-08-16 18:51:15 +0800] [284547] [INFO] Booting worker with pid: 284547 [2024-08-16 18:51:37,747] ERROR in app: Exception on /statistics/radar/2016 [GET] Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1473, in wsgi_app response = self.full_dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 882, in full_dispatch_request rv = self.handle_user_exception(e) File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 880, in full_dispatch_request rv = self.dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 865, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return] File "/root/ggpx_statistics/app.py", line 38, in radar data = pd.read_excel(handleGetData(id), index_col=0) File "/usr/local/lib/python3.10/dist-packages/pandas/io/excel/_base.py", line 478, in read_excel io = ExcelFile(io, storage_options=storage_options, engine=engine) File "/usr/local/lib/python3.10/dist-packages/pandas/io/excel/_base.py", line 1500, in __init__ raise ValueError( ValueError: Excel file format cannot be determined, you must specify an engine manually. [2024-08-16 19:00:10,040] ERROR in app: Exception on /statistics/radar/2016 [GET] Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1473, in wsgi_app response = self.full_dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 882, in full_dispatch_request rv = self.handle_user_exception(e) File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 880, in full_dispatch_request rv = self.dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 865, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return] File "/root/ggpx_statistics/app.py", line 38, in radar data = pd.read_excel(handleGetData(id), index_col=0) File "/usr/local/lib/python3.10/dist-packages/pandas/io/excel/_base.py", line 478, in read_excel io = ExcelFile(io, storage_options=storage_options, engine=engine) File "/usr/local/lib/python3.10/dist-packages/pandas/io/excel/_base.py", line 1500, in __init__ raise ValueError( ValueError: Excel file format cannot be determined, you must specify an engine manually. [2024-08-16 19:00:14,841] ERROR in app: Exception on /statistics/radar/2016 [GET] Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1473, in wsgi_app response = self.full_dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 882, in full_dispatch_request rv = self.handle_user_exception(e) File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 880, in full_dispatch_request rv = self.dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 865, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return] File "/root/ggpx_statistics/app.py", line 38, in radar data = pd.read_excel(handleGetData(id), index_col=0) File "/usr/local/lib/python3.10/dist-packages/pandas/io/excel/_base.py", line 478, in read_excel io = ExcelFile(io, storage_options=storage_options, engine=engine) File "/usr/local/lib/python3.10/dist-packages/pandas/io/excel/_base.py", line 1500, in __init__ raise ValueError( ValueError: Excel file format cannot be determined, you must specify an engine manually. [2024-08-16 19:00:29,077] ERROR in app: Exception on /statistics/radar/2016 [GET] Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1473, in wsgi_app response = self.full_dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 882, in full_dispatch_request rv = self.handle_user_exception(e) File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 880, in full_dispatch_request rv = self.dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 865, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return] File "/root/ggpx_statistics/app.py", line 38, in radar data = pd.read_excel(handleGetData(id), index_col=0) File "/usr/local/lib/python3.10/dist-packages/pandas/io/excel/_base.py", line 478, in read_excel io = ExcelFile(io, storage_options=storage_options, engine=engine) File "/usr/local/lib/python3.10/dist-packages/pandas/io/excel/_base.py", line 1500, in __init__ raise ValueError( ValueError: Excel file format cannot be determined, you must specify an engine manually. [2024-08-16 19:03:14 +0800] [284547] [INFO] Parent changed, shutting down: [2024-08-16 19:03:14 +0800] [284547] [INFO] Worker exiting (pid: 284547) [2024-08-16 19:03:14 +0800] [284544] [INFO] Parent changed, shutting down: [2024-08-16 19:03:14 +0800] [284544] [INFO] Worker exiting (pid: 284544) [2024-08-16 19:03:26 +0800] [284871] [INFO] Starting gunicorn 23.0.0 [2024-08-16 19:03:26 +0800] [284871] [INFO] Listening at: http://0.0.0.0:5000 (284871) [2024-08-16 19:03:26 +0800] [284871] [INFO] Using worker: sync [2024-08-16 19:03:26 +0800] [284872] [INFO] Booting worker with pid: 284872 [2024-08-16 19:03:26 +0800] [284874] [INFO] Booting worker with pid: 284874 [2024-08-16 19:03:26 +0800] [284876] [INFO] Booting worker with pid: 284876 [2024-08-16 19:03:26 +0800] [284878] [INFO] Booting worker with pid: 284878 [2024-08-16 19:04:53 +0800] [284871] [CRITICAL] WORKER TIMEOUT (pid:284872) [2024-08-16 19:04:53 +0800] [284871] [CRITICAL] WORKER TIMEOUT (pid:284876) [2024-08-16 19:04:54 +0800] [284871] [ERROR] Worker (pid:284876) was sent SIGKILL! Perhaps out of memory? [2024-08-16 19:04:54 +0800] [284871] [ERROR] Worker (pid:284872) was sent SIGKILL! Perhaps out of memory? [2024-08-16 19:04:54 +0800] [284889] [INFO] Booting worker with pid: 284889 [2024-08-16 19:04:54 +0800] [284891] [INFO] Booting worker with pid: 284891 [2024-08-16 19:05:32 +0800] [284871] [CRITICAL] WORKER TIMEOUT (pid:284874) [2024-08-16 19:05:33 +0800] [284871] [ERROR] Worker (pid:284874) was sent SIGKILL! Perhaps out of memory? [2024-08-16 19:05:33 +0800] [284941] [INFO] Booting worker with pid: 284941 [2024-08-16 19:07:13 +0800] [284871] [CRITICAL] WORKER TIMEOUT (pid:284889) [2024-08-16 19:07:13 +0800] [284871] [CRITICAL] WORKER TIMEOUT (pid:284941) [2024-08-16 19:07:14 +0800] [284871] [ERROR] Worker (pid:284941) was sent SIGKILL! Perhaps out of memory? [2024-08-16 19:07:14 +0800] [284871] [ERROR] Worker (pid:284889) was sent SIGKILL! Perhaps out of memory? [2024-08-16 19:07:14 +0800] [284997] [INFO] Booting worker with pid: 284997 [2024-08-16 19:07:14 +0800] [284999] [INFO] Booting worker with pid: 284999 [2024-08-16 19:08:31 +0800] [284999] [INFO] Parent changed, shutting down: [2024-08-16 19:08:31 +0800] [284999] [INFO] Worker exiting (pid: 284999) [2024-08-16 19:08:36 +0800] [285014] [INFO] Starting gunicorn 23.0.0 [2024-08-16 19:08:36 +0800] [285014] [INFO] Listening at: http://127.0.0.1:5000 (285014) [2024-08-16 19:08:36 +0800] [285014] [INFO] Using worker: sync [2024-08-16 19:08:36 +0800] [285015] [INFO] Booting worker with pid: 285015 [2024-08-16 19:08:36 +0800] [285017] [INFO] Booting worker with pid: 285017 [2024-08-16 19:08:36 +0800] [285019] [INFO] Booting worker with pid: 285019 [2024-08-16 19:08:36 +0800] [285020] [INFO] Booting worker with pid: 285020 [2024-08-16 19:10:10 +0800] [285078] [INFO] Starting gunicorn 23.0.0 [2024-08-16 19:10:10 +0800] [285078] [INFO] Listening at: http://0.0.0.0:5000 (285078) [2024-08-16 19:10:10 +0800] [285078] [INFO] Using worker: sync [2024-08-16 19:10:10 +0800] [285079] [INFO] Booting worker with pid: 285079 [2024-08-16 19:10:10 +0800] [285081] [INFO] Booting worker with pid: 285081 [2024-08-16 19:10:10 +0800] [285084] [INFO] Booting worker with pid: 285084 [2024-08-16 19:10:10 +0800] [285083] [INFO] Booting worker with pid: 285083 [2024-08-18 00:34:36 +0800] [285078] [ERROR] Worker (pid:285079) was sent SIGKILL! Perhaps out of memory? [2024-08-18 00:34:36 +0800] [340014] [INFO] Booting worker with pid: 340014 [2024-08-18 00:34:40 +0800] [285078] [ERROR] Worker (pid:285081) was sent SIGKILL! Perhaps out of memory? [2024-08-18 00:34:40 +0800] [340017] [INFO] Booting worker with pid: 340017 [2024-08-18 00:34:43 +0800] [285078] [ERROR] Worker (pid:285083) was sent SIGKILL! Perhaps out of memory? [2024-08-18 00:34:43 +0800] [340020] [INFO] Booting worker with pid: 340020 [2024-08-18 00:34:45 +0800] [285078] [ERROR] Worker (pid:285084) was sent SIGKILL! Perhaps out of memory? [2024-08-18 00:34:45 +0800] [340023] [INFO] Booting worker with pid: 340023 [2024-08-18 00:35:55 +0800] [340081] [INFO] Starting gunicorn 23.0.0 [2024-08-18 00:35:55 +0800] [340081] [INFO] Listening at: http://0.0.0.0:5000 (340081) [2024-08-18 00:35:55 +0800] [340081] [INFO] Using worker: sync [2024-08-18 00:35:55 +0800] [340082] [INFO] Booting worker with pid: 340082 [2024-08-18 00:35:55 +0800] [340084] [INFO] Booting worker with pid: 340084 [2024-08-18 00:35:55 +0800] [340086] [INFO] Booting worker with pid: 340086 [2024-08-18 00:35:55 +0800] [340088] [INFO] Booting worker with pid: 340088 [2024-08-18 00:37:23,954] ERROR in app: Exception on /statistics/pca/2021 [GET] Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1473, in wsgi_app response = self.full_dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 882, in full_dispatch_request rv = self.handle_user_exception(e) File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 880, in full_dispatch_request rv = self.dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 865, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return] File "/root/ggpx_statistics/app.py", line 56, in pca data = pd.read_excel(handleGetData(id, ids), index_col=0) File "/usr/local/lib/python3.10/dist-packages/pandas/io/excel/_base.py", line 478, in read_excel io = ExcelFile(io, storage_options=storage_options, engine=engine) File "/usr/local/lib/python3.10/dist-packages/pandas/io/excel/_base.py", line 1500, in __init__ raise ValueError( ValueError: Excel file format cannot be determined, you must specify an engine manually. [2024-08-18 00:37:23,955] ERROR in app: Exception on /statistics/similarity2/2021 [GET] Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1473, in wsgi_app response = self.full_dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 882, in full_dispatch_request rv = self.handle_user_exception(e) File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 880, in full_dispatch_request rv = self.dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 865, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return] File "/root/ggpx_statistics/app.py", line 90, in similarity2 matrix = pd.read_excel(handleGetData(id, ids), index_col=0) File "/usr/local/lib/python3.10/dist-packages/pandas/io/excel/_base.py", line 478, in read_excel io = ExcelFile(io, storage_options=storage_options, engine=engine) File "/usr/local/lib/python3.10/dist-packages/pandas/io/excel/_base.py", line 1500, in __init__ raise ValueError( ValueError: Excel file format cannot be determined, you must specify an engine manually. [2024-08-18 00:37:23,955] ERROR in app: Exception on /statistics/similarity/2021 [GET] Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1473, in wsgi_app response = self.full_dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 882, in full_dispatch_request rv = self.handle_user_exception(e) File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 880, in full_dispatch_request rv = self.dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 865, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return] File "/root/ggpx_statistics/app.py", line 73, in similarity matrix = pd.read_excel(handleGetData(id, ids), index_col=0) File "/usr/local/lib/python3.10/dist-packages/pandas/io/excel/_base.py", line 478, in read_excel io = ExcelFile(io, storage_options=storage_options, engine=engine) File "/usr/local/lib/python3.10/dist-packages/pandas/io/excel/_base.py", line 1500, in __init__ raise ValueError( ValueError: Excel file format cannot be determined, you must specify an engine manually. [2024-08-18 00:37:28,080] ERROR in app: Exception on /statistics/similarity/2021 [GET] Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1473, in wsgi_app response = self.full_dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 882, in full_dispatch_request rv = self.handle_user_exception(e) File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 880, in full_dispatch_request rv = self.dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 865, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return] File "/root/ggpx_statistics/app.py", line 73, in similarity matrix = pd.read_excel(handleGetData(id, ids), index_col=0) File "/usr/local/lib/python3.10/dist-packages/pandas/io/excel/_base.py", line 478, in read_excel io = ExcelFile(io, storage_options=storage_options, engine=engine) File "/usr/local/lib/python3.10/dist-packages/pandas/io/excel/_base.py", line 1500, in __init__ raise ValueError( ValueError: Excel file format cannot be determined, you must specify an engine manually. [2024-08-18 00:37:28,083] ERROR in app: Exception on /statistics/pca/2021 [GET] Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1473, in wsgi_app response = self.full_dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 882, in full_dispatch_request rv = self.handle_user_exception(e) File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 880, in full_dispatch_request rv = self.dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 865, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return] File "/root/ggpx_statistics/app.py", line 56, in pca data = pd.read_excel(handleGetData(id, ids), index_col=0) File "/usr/local/lib/python3.10/dist-packages/pandas/io/excel/_base.py", line 478, in read_excel io = ExcelFile(io, storage_options=storage_options, engine=engine) File "/usr/local/lib/python3.10/dist-packages/pandas/io/excel/_base.py", line 1500, in __init__ raise ValueError( ValueError: Excel file format cannot be determined, you must specify an engine manually. [2024-08-18 00:37:28,088] ERROR in app: Exception on /statistics/similarity2/2021 [GET] Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1473, in wsgi_app response = self.full_dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 882, in full_dispatch_request rv = self.handle_user_exception(e) File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 880, in full_dispatch_request rv = self.dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 865, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return] File "/root/ggpx_statistics/app.py", line 90, in similarity2 matrix = pd.read_excel(handleGetData(id, ids), index_col=0) File "/usr/local/lib/python3.10/dist-packages/pandas/io/excel/_base.py", line 478, in read_excel io = ExcelFile(io, storage_options=storage_options, engine=engine) File "/usr/local/lib/python3.10/dist-packages/pandas/io/excel/_base.py", line 1500, in __init__ raise ValueError( ValueError: Excel file format cannot be determined, you must specify an engine manually. [2024-08-18 00:38:53,965] ERROR in app: Exception on /statistics/pca/2021 [GET] Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1473, in wsgi_app response = self.full_dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 882, in full_dispatch_request rv = self.handle_user_exception(e) File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 880, in full_dispatch_request rv = self.dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 865, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return] File "/root/ggpx_statistics/app.py", line 56, in pca data = pd.read_excel(handleGetData(id, ids), index_col=0) File "/usr/local/lib/python3.10/dist-packages/pandas/io/excel/_base.py", line 478, in read_excel io = ExcelFile(io, storage_options=storage_options, engine=engine) File "/usr/local/lib/python3.10/dist-packages/pandas/io/excel/_base.py", line 1500, in __init__ raise ValueError( ValueError: Excel file format cannot be determined, you must specify an engine manually. [2024-08-18 00:38:53,968] ERROR in app: Exception on /statistics/similarity2/2021 [GET] Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1473, in wsgi_app response = self.full_dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 882, in full_dispatch_request rv = self.handle_user_exception(e) File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 880, in full_dispatch_request rv = self.dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 865, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return] File "/root/ggpx_statistics/app.py", line 90, in similarity2 matrix = pd.read_excel(handleGetData(id, ids), index_col=0) File "/usr/local/lib/python3.10/dist-packages/pandas/io/excel/_base.py", line 478, in read_excel io = ExcelFile(io, storage_options=storage_options, engine=engine) File "/usr/local/lib/python3.10/dist-packages/pandas/io/excel/_base.py", line 1500, in __init__ raise ValueError( ValueError: Excel file format cannot be determined, you must specify an engine manually. [2024-08-18 00:38:53,973] ERROR in app: Exception on /statistics/similarity/2021 [GET] Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1473, in wsgi_app response = self.full_dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 882, in full_dispatch_request rv = self.handle_user_exception(e) File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 880, in full_dispatch_request rv = self.dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 865, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return] File "/root/ggpx_statistics/app.py", line 73, in similarity matrix = pd.read_excel(handleGetData(id, ids), index_col=0) File "/usr/local/lib/python3.10/dist-packages/pandas/io/excel/_base.py", line 478, in read_excel io = ExcelFile(io, storage_options=storage_options, engine=engine) File "/usr/local/lib/python3.10/dist-packages/pandas/io/excel/_base.py", line 1500, in __init__ raise ValueError( ValueError: Excel file format cannot be determined, you must specify an engine manually. [2024-08-18 00:39:47,950] ERROR in app: Exception on /statistics/similarity/2021 [GET] Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1473, in wsgi_app response = self.full_dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 882, in full_dispatch_request rv = self.handle_user_exception(e) File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 880, in full_dispatch_request rv = self.dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 865, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return] File "/root/ggpx_statistics/app.py", line 73, in similarity matrix = pd.read_excel(handleGetData(id, ids), index_col=0) File "/usr/local/lib/python3.10/dist-packages/pandas/io/excel/_base.py", line 478, in read_excel io = ExcelFile(io, storage_options=storage_options, engine=engine) File "/usr/local/lib/python3.10/dist-packages/pandas/io/excel/_base.py", line 1500, in __init__ raise ValueError( ValueError: Excel file format cannot be determined, you must specify an engine manually. [2024-08-18 00:39:47,952] ERROR in app: Exception on /statistics/similarity2/2021 [GET] Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1473, in wsgi_app response = self.full_dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 882, in full_dispatch_request rv = self.handle_user_exception(e) File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 880, in full_dispatch_request rv = self.dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 865, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return] File "/root/ggpx_statistics/app.py", line 90, in similarity2 matrix = pd.read_excel(handleGetData(id, ids), index_col=0) File "/usr/local/lib/python3.10/dist-packages/pandas/io/excel/_base.py", line 478, in read_excel io = ExcelFile(io, storage_options=storage_options, engine=engine) File "/usr/local/lib/python3.10/dist-packages/pandas/io/excel/_base.py", line 1500, in __init__ raise ValueError( ValueError: Excel file format cannot be determined, you must specify an engine manually. [2024-08-18 00:39:47,955] ERROR in app: Exception on /statistics/pca/2021 [GET] Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1473, in wsgi_app response = self.full_dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 882, in full_dispatch_request rv = self.handle_user_exception(e) File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 880, in full_dispatch_request rv = self.dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 865, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return] File "/root/ggpx_statistics/app.py", line 56, in pca data = pd.read_excel(handleGetData(id, ids), index_col=0) File "/usr/local/lib/python3.10/dist-packages/pandas/io/excel/_base.py", line 478, in read_excel io = ExcelFile(io, storage_options=storage_options, engine=engine) File "/usr/local/lib/python3.10/dist-packages/pandas/io/excel/_base.py", line 1500, in __init__ raise ValueError( ValueError: Excel file format cannot be determined, you must specify an engine manually. [2024-08-18 00:39:52,706] ERROR in app: Exception on /statistics/similarity2/2021 [GET] Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1473, in wsgi_app response = self.full_dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 882, in full_dispatch_request rv = self.handle_user_exception(e) File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 880, in full_dispatch_request rv = self.dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 865, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return] File "/root/ggpx_statistics/app.py", line 90, in similarity2 matrix = pd.read_excel(handleGetData(id, ids), index_col=0) File "/usr/local/lib/python3.10/dist-packages/pandas/io/excel/_base.py", line 478, in read_excel io = ExcelFile(io, storage_options=storage_options, engine=engine) File "/usr/local/lib/python3.10/dist-packages/pandas/io/excel/_base.py", line 1500, in __init__ raise ValueError( ValueError: Excel file format cannot be determined, you must specify an engine manually. [2024-08-18 00:39:52,711] ERROR in app: Exception on /statistics/similarity/2021 [GET] Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1473, in wsgi_app response = self.full_dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 882, in full_dispatch_request rv = self.handle_user_exception(e) File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 880, in full_dispatch_request rv = self.dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 865, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return] File "/root/ggpx_statistics/app.py", line 73, in similarity matrix = pd.read_excel(handleGetData(id, ids), index_col=0) File "/usr/local/lib/python3.10/dist-packages/pandas/io/excel/_base.py", line 478, in read_excel io = ExcelFile(io, storage_options=storage_options, engine=engine) File "/usr/local/lib/python3.10/dist-packages/pandas/io/excel/_base.py", line 1500, in __init__ raise ValueError( ValueError: Excel file format cannot be determined, you must specify an engine manually. [2024-08-18 00:39:52,713] ERROR in app: Exception on /statistics/pca/2021 [GET] Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1473, in wsgi_app response = self.full_dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 882, in full_dispatch_request rv = self.handle_user_exception(e) File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 880, in full_dispatch_request rv = self.dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 865, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return] File "/root/ggpx_statistics/app.py", line 56, in pca data = pd.read_excel(handleGetData(id, ids), index_col=0) File "/usr/local/lib/python3.10/dist-packages/pandas/io/excel/_base.py", line 478, in read_excel io = ExcelFile(io, storage_options=storage_options, engine=engine) File "/usr/local/lib/python3.10/dist-packages/pandas/io/excel/_base.py", line 1500, in __init__ raise ValueError( ValueError: Excel file format cannot be determined, you must specify an engine manually. [2024-08-18 00:40:00,346] ERROR in app: Exception on /statistics/similarity2/2021 [GET] Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1473, in wsgi_app response = self.full_dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 882, in full_dispatch_request rv = self.handle_user_exception(e) File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 880, in full_dispatch_request rv = self.dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 865, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return] File "/root/ggpx_statistics/app.py", line 90, in similarity2 matrix = pd.read_excel(handleGetData(id, ids), index_col=0) File "/usr/local/lib/python3.10/dist-packages/pandas/io/excel/_base.py", line 478, in read_excel io = ExcelFile(io, storage_options=storage_options, engine=engine) File "/usr/local/lib/python3.10/dist-packages/pandas/io/excel/_base.py", line 1500, in __init__ raise ValueError( ValueError: Excel file format cannot be determined, you must specify an engine manually. [2024-08-18 00:40:00,349] ERROR in app: Exception on /statistics/pca/2021 [GET] Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1473, in wsgi_app response = self.full_dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 882, in full_dispatch_request rv = self.handle_user_exception(e) File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 880, in full_dispatch_request rv = self.dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 865, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return] File "/root/ggpx_statistics/app.py", line 56, in pca data = pd.read_excel(handleGetData(id, ids), index_col=0) File "/usr/local/lib/python3.10/dist-packages/pandas/io/excel/_base.py", line 478, in read_excel io = ExcelFile(io, storage_options=storage_options, engine=engine) File "/usr/local/lib/python3.10/dist-packages/pandas/io/excel/_base.py", line 1500, in __init__ raise ValueError( ValueError: Excel file format cannot be determined, you must specify an engine manually. [2024-08-18 00:40:00,351] ERROR in app: Exception on /statistics/similarity/2021 [GET] Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1473, in wsgi_app response = self.full_dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 882, in full_dispatch_request rv = self.handle_user_exception(e) File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 880, in full_dispatch_request rv = self.dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 865, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return] File "/root/ggpx_statistics/app.py", line 73, in similarity matrix = pd.read_excel(handleGetData(id, ids), index_col=0) File "/usr/local/lib/python3.10/dist-packages/pandas/io/excel/_base.py", line 478, in read_excel io = ExcelFile(io, storage_options=storage_options, engine=engine) File "/usr/local/lib/python3.10/dist-packages/pandas/io/excel/_base.py", line 1500, in __init__ raise ValueError( ValueError: Excel file format cannot be determined, you must specify an engine manually. [2024-08-18 00:40:16,839] ERROR in app: Exception on /statistics/similarity/2021 [GET] Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1473, in wsgi_app response = self.full_dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 882, in full_dispatch_request rv = self.handle_user_exception(e) File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 880, in full_dispatch_request rv = self.dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 865, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return] File "/root/ggpx_statistics/app.py", line 73, in similarity matrix = pd.read_excel(handleGetData(id, ids), index_col=0) File "/usr/local/lib/python3.10/dist-packages/pandas/io/excel/_base.py", line 478, in read_excel io = ExcelFile(io, storage_options=storage_options, engine=engine) File "/usr/local/lib/python3.10/dist-packages/pandas/io/excel/_base.py", line 1500, in __init__ raise ValueError( ValueError: Excel file format cannot be determined, you must specify an engine manually. [2024-08-18 00:40:16,840] ERROR in app: Exception on /statistics/similarity2/2021 [GET] Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1473, in wsgi_app response = self.full_dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 882, in full_dispatch_request rv = self.handle_user_exception(e) File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 880, in full_dispatch_request rv = self.dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 865, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return] File "/root/ggpx_statistics/app.py", line 90, in similarity2 matrix = pd.read_excel(handleGetData(id, ids), index_col=0) File "/usr/local/lib/python3.10/dist-packages/pandas/io/excel/_base.py", line 478, in read_excel io = ExcelFile(io, storage_options=storage_options, engine=engine) File "/usr/local/lib/python3.10/dist-packages/pandas/io/excel/_base.py", line 1500, in __init__ raise ValueError( ValueError: Excel file format cannot be determined, you must specify an engine manually. [2024-08-18 00:40:16,841] ERROR in app: Exception on /statistics/pca/2021 [GET] Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1473, in wsgi_app response = self.full_dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 882, in full_dispatch_request rv = self.handle_user_exception(e) File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 880, in full_dispatch_request rv = self.dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 865, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return] File "/root/ggpx_statistics/app.py", line 56, in pca data = pd.read_excel(handleGetData(id, ids), index_col=0) File "/usr/local/lib/python3.10/dist-packages/pandas/io/excel/_base.py", line 478, in read_excel io = ExcelFile(io, storage_options=storage_options, engine=engine) File "/usr/local/lib/python3.10/dist-packages/pandas/io/excel/_base.py", line 1500, in __init__ raise ValueError( ValueError: Excel file format cannot be determined, you must specify an engine manually. [2024-08-18 00:40:22,198] ERROR in app: Exception on /statistics/similarity/2021 [GET] Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1473, in wsgi_app response = self.full_dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 882, in full_dispatch_request rv = self.handle_user_exception(e) File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 880, in full_dispatch_request rv = self.dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 865, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return] File "/root/ggpx_statistics/app.py", line 73, in similarity matrix = pd.read_excel(handleGetData(id, ids), index_col=0) File "/usr/local/lib/python3.10/dist-packages/pandas/io/excel/_base.py", line 478, in read_excel io = ExcelFile(io, storage_options=storage_options, engine=engine) File "/usr/local/lib/python3.10/dist-packages/pandas/io/excel/_base.py", line 1500, in __init__ raise ValueError( ValueError: Excel file format cannot be determined, you must specify an engine manually. [2024-08-18 00:40:22,201] ERROR in app: Exception on /statistics/pca/2021 [GET] Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1473, in wsgi_app response = self.full_dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 882, in full_dispatch_request rv = self.handle_user_exception(e) File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 880, in full_dispatch_request rv = self.dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 865, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return] File "/root/ggpx_statistics/app.py", line 56, in pca data = pd.read_excel(handleGetData(id, ids), index_col=0) File "/usr/local/lib/python3.10/dist-packages/pandas/io/excel/_base.py", line 478, in read_excel io = ExcelFile(io, storage_options=storage_options, engine=engine) File "/usr/local/lib/python3.10/dist-packages/pandas/io/excel/_base.py", line 1500, in __init__ raise ValueError( ValueError: Excel file format cannot be determined, you must specify an engine manually. [2024-08-18 00:40:22,203] ERROR in app: Exception on /statistics/similarity2/2021 [GET] Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1473, in wsgi_app response = self.full_dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 882, in full_dispatch_request rv = self.handle_user_exception(e) File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 880, in full_dispatch_request rv = self.dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 865, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return] File "/root/ggpx_statistics/app.py", line 90, in similarity2 matrix = pd.read_excel(handleGetData(id, ids), index_col=0) File "/usr/local/lib/python3.10/dist-packages/pandas/io/excel/_base.py", line 478, in read_excel io = ExcelFile(io, storage_options=storage_options, engine=engine) File "/usr/local/lib/python3.10/dist-packages/pandas/io/excel/_base.py", line 1500, in __init__ raise ValueError( ValueError: Excel file format cannot be determined, you must specify an engine manually. [2024-08-18 00:41:22,458] ERROR in app: Exception on /statistics/similarity/2021 [GET] Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1473, in wsgi_app response = self.full_dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 882, in full_dispatch_request rv = self.handle_user_exception(e) File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 880, in full_dispatch_request rv = self.dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 865, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return] File "/root/ggpx_statistics/app.py", line 73, in similarity matrix = pd.read_excel(handleGetData(id, ids), index_col=0) File "/usr/local/lib/python3.10/dist-packages/pandas/io/excel/_base.py", line 478, in read_excel io = ExcelFile(io, storage_options=storage_options, engine=engine) File "/usr/local/lib/python3.10/dist-packages/pandas/io/excel/_base.py", line 1500, in __init__ raise ValueError( ValueError: Excel file format cannot be determined, you must specify an engine manually. [2024-08-18 00:41:22,463] ERROR in app: Exception on /statistics/similarity2/2021 [GET] Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1473, in wsgi_app response = self.full_dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 882, in full_dispatch_request rv = self.handle_user_exception(e) File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 880, in full_dispatch_request rv = self.dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 865, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return] File "/root/ggpx_statistics/app.py", line 90, in similarity2 matrix = pd.read_excel(handleGetData(id, ids), index_col=0) File "/usr/local/lib/python3.10/dist-packages/pandas/io/excel/_base.py", line 478, in read_excel io = ExcelFile(io, storage_options=storage_options, engine=engine) File "/usr/local/lib/python3.10/dist-packages/pandas/io/excel/_base.py", line 1500, in __init__ raise ValueError( ValueError: Excel file format cannot be determined, you must specify an engine manually. [2024-08-18 00:41:22,465] ERROR in app: Exception on /statistics/pca/2021 [GET] Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1473, in wsgi_app response = self.full_dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 882, in full_dispatch_request rv = self.handle_user_exception(e) File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 880, in full_dispatch_request rv = self.dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 865, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return] File "/root/ggpx_statistics/app.py", line 56, in pca data = pd.read_excel(handleGetData(id, ids), index_col=0) File "/usr/local/lib/python3.10/dist-packages/pandas/io/excel/_base.py", line 478, in read_excel io = ExcelFile(io, storage_options=storage_options, engine=engine) File "/usr/local/lib/python3.10/dist-packages/pandas/io/excel/_base.py", line 1500, in __init__ raise ValueError( ValueError: Excel file format cannot be determined, you must specify an engine manually. [2024-08-18 00:42:02,647] ERROR in app: Exception on /statistics/pca/2021 [GET] Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1473, in wsgi_app response = self.full_dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 882, in full_dispatch_request rv = self.handle_user_exception(e) File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 880, in full_dispatch_request rv = self.dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 865, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return] File "/root/ggpx_statistics/app.py", line 56, in pca data = pd.read_excel(handleGetData(id, ids), index_col=0) File "/usr/local/lib/python3.10/dist-packages/pandas/io/excel/_base.py", line 478, in read_excel io = ExcelFile(io, storage_options=storage_options, engine=engine) File "/usr/local/lib/python3.10/dist-packages/pandas/io/excel/_base.py", line 1500, in __init__ raise ValueError( ValueError: Excel file format cannot be determined, you must specify an engine manually. [2024-08-18 00:42:02,654] ERROR in app: Exception on /statistics/similarity/2021 [GET] Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1473, in wsgi_app response = self.full_dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 882, in full_dispatch_request rv = self.handle_user_exception(e) File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 880, in full_dispatch_request rv = self.dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 865, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return] File "/root/ggpx_statistics/app.py", line 73, in similarity matrix = pd.read_excel(handleGetData(id, ids), index_col=0) File "/usr/local/lib/python3.10/dist-packages/pandas/io/excel/_base.py", line 478, in read_excel io = ExcelFile(io, storage_options=storage_options, engine=engine) File "/usr/local/lib/python3.10/dist-packages/pandas/io/excel/_base.py", line 1500, in __init__ raise ValueError( ValueError: Excel file format cannot be determined, you must specify an engine manually. [2024-08-18 00:42:02,654] ERROR in app: Exception on /statistics/similarity2/2021 [GET] Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1473, in wsgi_app response = self.full_dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 882, in full_dispatch_request rv = self.handle_user_exception(e) File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 880, in full_dispatch_request rv = self.dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 865, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return] File "/root/ggpx_statistics/app.py", line 90, in similarity2 matrix = pd.read_excel(handleGetData(id, ids), index_col=0) File "/usr/local/lib/python3.10/dist-packages/pandas/io/excel/_base.py", line 478, in read_excel io = ExcelFile(io, storage_options=storage_options, engine=engine) File "/usr/local/lib/python3.10/dist-packages/pandas/io/excel/_base.py", line 1500, in __init__ raise ValueError( ValueError: Excel file format cannot be determined, you must specify an engine manually. [2024-08-18 00:42:23,980] ERROR in app: Exception on /statistics/pca/2021 [GET] Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1473, in wsgi_app response = self.full_dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 882, in full_dispatch_request rv = self.handle_user_exception(e) File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 880, in full_dispatch_request rv = self.dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 865, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return] File "/root/ggpx_statistics/app.py", line 56, in pca data = pd.read_excel(handleGetData(id, ids), index_col=0) File "/usr/local/lib/python3.10/dist-packages/pandas/io/excel/_base.py", line 478, in read_excel io = ExcelFile(io, storage_options=storage_options, engine=engine) File "/usr/local/lib/python3.10/dist-packages/pandas/io/excel/_base.py", line 1500, in __init__ raise ValueError( ValueError: Excel file format cannot be determined, you must specify an engine manually. [2024-08-18 00:53:09 +0800] [340081] [CRITICAL] WORKER TIMEOUT (pid:340084) [2024-08-18 00:53:10 +0800] [340081] [ERROR] Worker (pid:340084) was sent SIGKILL! Perhaps out of memory? [2024-08-18 00:53:10 +0800] [343185] [INFO] Booting worker with pid: 343185 [2024-08-18 00:53:31 +0800] [340081] [CRITICAL] WORKER TIMEOUT (pid:340082) [2024-08-18 00:53:31 +0800] [340081] [CRITICAL] WORKER TIMEOUT (pid:340086) [2024-08-18 00:53:31 +0800] [340081] [CRITICAL] WORKER TIMEOUT (pid:340088) [2024-08-18 00:53:32 +0800] [340081] [ERROR] Worker (pid:340086) was sent SIGKILL! Perhaps out of memory? [2024-08-18 00:53:32 +0800] [343230] [INFO] Booting worker with pid: 343230 [2024-08-18 00:53:32 +0800] [340081] [ERROR] Worker (pid:340088) was sent SIGKILL! Perhaps out of memory? [2024-08-18 00:53:32 +0800] [340081] [ERROR] Worker (pid:340082) was sent SIGKILL! Perhaps out of memory? [2024-08-18 00:53:32 +0800] [343231] [INFO] Booting worker with pid: 343231 [2024-08-18 00:53:32 +0800] [343233] [INFO] Booting worker with pid: 343233 [2024-08-18 00:55:10,567] ERROR in app: Exception on /statistics/pca/2021 [GET] Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1473, in wsgi_app response = self.full_dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 882, in full_dispatch_request rv = self.handle_user_exception(e) File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 880, in full_dispatch_request rv = self.dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 865, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return] File "/root/ggpx_statistics/app.py", line 56, in pca data = pd.read_excel(handleGetData(id, ids), index_col=0) File "/usr/local/lib/python3.10/dist-packages/pandas/io/excel/_base.py", line 478, in read_excel io = ExcelFile(io, storage_options=storage_options, engine=engine) File "/usr/local/lib/python3.10/dist-packages/pandas/io/excel/_base.py", line 1500, in __init__ raise ValueError( ValueError: Excel file format cannot be determined, you must specify an engine manually. [2024-08-18 00:55:10,567] ERROR in app: Exception on /statistics/similarity2/2021 [GET] Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1473, in wsgi_app response = self.full_dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 882, in full_dispatch_request rv = self.handle_user_exception(e) File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 880, in full_dispatch_request rv = self.dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 865, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return] File "/root/ggpx_statistics/app.py", line 90, in similarity2 matrix = pd.read_excel(handleGetData(id, ids), index_col=0) File "/usr/local/lib/python3.10/dist-packages/pandas/io/excel/_base.py", line 478, in read_excel io = ExcelFile(io, storage_options=storage_options, engine=engine) File "/usr/local/lib/python3.10/dist-packages/pandas/io/excel/_base.py", line 1500, in __init__ raise ValueError( ValueError: Excel file format cannot be determined, you must specify an engine manually. [2024-08-18 00:55:10,565] ERROR in app: Exception on /statistics/similarity/2021 [GET] Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1473, in wsgi_app response = self.full_dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 882, in full_dispatch_request rv = self.handle_user_exception(e) File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 880, in full_dispatch_request rv = self.dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 865, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return] File "/root/ggpx_statistics/app.py", line 73, in similarity matrix = pd.read_excel(handleGetData(id, ids), index_col=0) File "/usr/local/lib/python3.10/dist-packages/pandas/io/excel/_base.py", line 478, in read_excel io = ExcelFile(io, storage_options=storage_options, engine=engine) File "/usr/local/lib/python3.10/dist-packages/pandas/io/excel/_base.py", line 1500, in __init__ raise ValueError( ValueError: Excel file format cannot be determined, you must specify an engine manually. [2024-08-18 00:56:08,525] ERROR in app: Exception on /statistics/similarity2/2021 [GET] Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1473, in wsgi_app response = self.full_dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 882, in full_dispatch_request rv = self.handle_user_exception(e) File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 880, in full_dispatch_request rv = self.dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 865, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return] File "/root/ggpx_statistics/app.py", line 90, in similarity2 matrix = pd.read_excel(handleGetData(id, ids), index_col=0) File "/usr/local/lib/python3.10/dist-packages/pandas/io/excel/_base.py", line 478, in read_excel io = ExcelFile(io, storage_options=storage_options, engine=engine) File "/usr/local/lib/python3.10/dist-packages/pandas/io/excel/_base.py", line 1500, in __init__ raise ValueError( ValueError: Excel file format cannot be determined, you must specify an engine manually. [2024-08-18 08:57:52 +0800] [356944] [INFO] Starting gunicorn 23.0.0 [2024-08-18 08:57:52 +0800] [356944] [INFO] Listening at: http://0.0.0.0:5000 (356944) [2024-08-18 08:57:52 +0800] [356944] [INFO] Using worker: sync [2024-08-18 08:57:52 +0800] [356945] [INFO] Booting worker with pid: 356945 [2024-08-18 08:57:53 +0800] [356946] [INFO] Booting worker with pid: 356946 [2024-08-18 08:57:53 +0800] [356947] [INFO] Booting worker with pid: 356947 [2024-08-18 08:57:53 +0800] [356951] [INFO] Booting worker with pid: 356951 [2024-08-18 09:03:11,644] ERROR in app: Exception on /statistics/similarity/2021 [GET] Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1473, in wsgi_app response = self.full_dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 882, in full_dispatch_request rv = self.handle_user_exception(e) File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 880, in full_dispatch_request rv = self.dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 865, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return] File "/root/ggpx_statistics/app.py", line 75, in similarity matrix = pd.read_excel(handleGetData(id, ids), index_col=0) File "/root/ggpx_statistics/app.py", line 26, in handleGetData 'ids': [int(item) for item in ids.split(",")]}) File "/root/ggpx_statistics/app.py", line 26, in 'ids': [int(item) for item in ids.split(",")]}) ValueError: invalid literal for int() with base 10: '' [2024-08-18 09:03:11,643] ERROR in app: Exception on /statistics/similarity2/2021 [GET] Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1473, in wsgi_app response = self.full_dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 882, in full_dispatch_request rv = self.handle_user_exception(e) File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 880, in full_dispatch_request rv = self.dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 865, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return] File "/root/ggpx_statistics/app.py", line 92, in similarity2 matrix = pd.read_excel(handleGetData(id, ids), index_col=0) File "/root/ggpx_statistics/app.py", line 26, in handleGetData 'ids': [int(item) for item in ids.split(",")]}) File "/root/ggpx_statistics/app.py", line 26, in 'ids': [int(item) for item in ids.split(",")]}) ValueError: invalid literal for int() with base 10: '' [2024-08-18 09:03:11,647] ERROR in app: Exception on /statistics/pca/2021 [GET] Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1473, in wsgi_app response = self.full_dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 882, in full_dispatch_request rv = self.handle_user_exception(e) File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 880, in full_dispatch_request rv = self.dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 865, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return] File "/root/ggpx_statistics/app.py", line 58, in pca data = pd.read_excel(handleGetData(id, ids), index_col=0) File "/root/ggpx_statistics/app.py", line 26, in handleGetData 'ids': [int(item) for item in ids.split(",")]}) File "/root/ggpx_statistics/app.py", line 26, in 'ids': [int(item) for item in ids.split(",")]}) ValueError: invalid literal for int() with base 10: '' [2024-08-18 09:03:37,663] ERROR in app: Exception on /statistics/pca/2021 [GET] Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1473, in wsgi_app response = self.full_dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 882, in full_dispatch_request rv = self.handle_user_exception(e) File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 880, in full_dispatch_request rv = self.dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 865, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return] File "/root/ggpx_statistics/app.py", line 60, in pca pca_results = perform_pca(data) File "/root/ggpx_statistics/pca.py", line 13, in perform_pca principal_components = pca.fit_transform(data) File "/usr/local/lib/python3.10/dist-packages/sklearn/utils/_set_output.py", line 157, in wrapped data_to_wrap = f(self, X, *args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/sklearn/base.py", line 1152, in wrapper return fit_method(estimator, *args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/sklearn/decomposition/_pca.py", line 460, in fit_transform U, S, Vt = self._fit(X) File "/usr/local/lib/python3.10/dist-packages/sklearn/decomposition/_pca.py", line 510, in _fit return self._fit_full(X, n_components) File "/usr/local/lib/python3.10/dist-packages/sklearn/decomposition/_pca.py", line 524, in _fit_full raise ValueError( ValueError: n_components=2 must be between 0 and min(n_samples, n_features)=1 with svd_solver='full' [2024-08-18 09:03:40,532] ERROR in app: Exception on /statistics/similarity2/2021 [GET] Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1473, in wsgi_app response = self.full_dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 882, in full_dispatch_request rv = self.handle_user_exception(e) File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 880, in full_dispatch_request rv = self.dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 865, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return] File "/root/ggpx_statistics/app.py", line 100, in similarity2 img_bytes = plot_similarity_network(similarity_result, threshold=0.5) File "/root/ggpx_statistics/similarity.py", line 93, in plot_similarity_network width=weights, edge_color=weights, edge_cmap=plt.cm.Blues, edge_vmin=min(weights), ValueError: min() arg is an empty sequence [2024-08-18 09:04:39,102] ERROR in app: Exception on /statistics/similarity2/2021 [GET] Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1473, in wsgi_app response = self.full_dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 882, in full_dispatch_request rv = self.handle_user_exception(e) File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 880, in full_dispatch_request rv = self.dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 865, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return] File "/root/ggpx_statistics/app.py", line 100, in similarity2 img_bytes = plot_similarity_network(similarity_result, threshold=0.5) File "/root/ggpx_statistics/similarity.py", line 93, in plot_similarity_network width=weights, edge_color=weights, edge_cmap=plt.cm.Blues, edge_vmin=min(weights), ValueError: min() arg is an empty sequence [2024-08-18 09:04:39,111] ERROR in app: Exception on /statistics/pca/2021 [GET] Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1473, in wsgi_app response = self.full_dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 882, in full_dispatch_request rv = self.handle_user_exception(e) File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 880, in full_dispatch_request rv = self.dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 865, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return] File "/root/ggpx_statistics/app.py", line 60, in pca pca_results = perform_pca(data) File "/root/ggpx_statistics/pca.py", line 13, in perform_pca principal_components = pca.fit_transform(data) File "/usr/local/lib/python3.10/dist-packages/sklearn/utils/_set_output.py", line 157, in wrapped data_to_wrap = f(self, X, *args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/sklearn/base.py", line 1152, in wrapper return fit_method(estimator, *args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/sklearn/decomposition/_pca.py", line 460, in fit_transform U, S, Vt = self._fit(X) File "/usr/local/lib/python3.10/dist-packages/sklearn/decomposition/_pca.py", line 510, in _fit return self._fit_full(X, n_components) File "/usr/local/lib/python3.10/dist-packages/sklearn/decomposition/_pca.py", line 524, in _fit_full raise ValueError( ValueError: n_components=2 must be between 0 and min(n_samples, n_features)=1 with svd_solver='full' [2024-08-18 09:05:03,962] ERROR in app: Exception on /statistics/similarity2/2021 [GET] Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1473, in wsgi_app response = self.full_dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 882, in full_dispatch_request rv = self.handle_user_exception(e) File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 880, in full_dispatch_request rv = self.dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 865, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return] File "/root/ggpx_statistics/app.py", line 100, in similarity2 img_bytes = plot_similarity_network(similarity_result, threshold=0.5) File "/root/ggpx_statistics/similarity.py", line 93, in plot_similarity_network width=weights, edge_color=weights, edge_cmap=plt.cm.Blues, edge_vmin=min(weights), ValueError: min() arg is an empty sequence [2024-08-18 09:05:37,752] ERROR in app: Exception on /statistics/pca/2021 [GET] Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1473, in wsgi_app response = self.full_dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 882, in full_dispatch_request rv = self.handle_user_exception(e) File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 880, in full_dispatch_request rv = self.dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 865, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return] File "/root/ggpx_statistics/app.py", line 58, in pca data = pd.read_excel(handleGetData(id, ids), index_col=0) File "/root/ggpx_statistics/app.py", line 26, in handleGetData 'ids': [int(item) for item in ids.split(",")]}) File "/root/ggpx_statistics/app.py", line 26, in 'ids': [int(item) for item in ids.split(",")]}) ValueError: invalid literal for int() with base 10: '' [2024-08-18 09:05:37,755] ERROR in app: Exception on /statistics/similarity/2021 [GET] Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1473, in wsgi_app response = self.full_dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 882, in full_dispatch_request rv = self.handle_user_exception(e) File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 880, in full_dispatch_request rv = self.dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 865, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return] File "/root/ggpx_statistics/app.py", line 75, in similarity matrix = pd.read_excel(handleGetData(id, ids), index_col=0) File "/root/ggpx_statistics/app.py", line 26, in handleGetData 'ids': [int(item) for item in ids.split(",")]}) File "/root/ggpx_statistics/app.py", line 26, in 'ids': [int(item) for item in ids.split(",")]}) ValueError: invalid literal for int() with base 10: '' [2024-08-18 09:05:37,758] ERROR in app: Exception on /statistics/similarity2/2021 [GET] Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1473, in wsgi_app response = self.full_dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 882, in full_dispatch_request rv = self.handle_user_exception(e) File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 880, in full_dispatch_request rv = self.dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 865, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return] File "/root/ggpx_statistics/app.py", line 92, in similarity2 matrix = pd.read_excel(handleGetData(id, ids), index_col=0) File "/root/ggpx_statistics/app.py", line 26, in handleGetData 'ids': [int(item) for item in ids.split(",")]}) File "/root/ggpx_statistics/app.py", line 26, in 'ids': [int(item) for item in ids.split(",")]}) ValueError: invalid literal for int() with base 10: '' [2024-08-18 09:08:59 +0800] [356944] [CRITICAL] WORKER TIMEOUT (pid:356945) [2024-08-18 09:08:59 +0800] [356944] [CRITICAL] WORKER TIMEOUT (pid:356947) [2024-08-18 09:09:00 +0800] [356944] [ERROR] Worker (pid:356947) was sent SIGKILL! Perhaps out of memory? [2024-08-18 09:09:00 +0800] [356944] [ERROR] Worker (pid:356945) was sent SIGKILL! Perhaps out of memory? [2024-08-18 09:09:00 +0800] [358703] [INFO] Booting worker with pid: 358703 [2024-08-18 09:09:00 +0800] [358704] [INFO] Booting worker with pid: 358704 [2024-08-18 09:12:39 +0800] [356944] [ERROR] Worker (pid:358704) was sent SIGKILL! Perhaps out of memory? [2024-08-18 09:12:39 +0800] [358761] [INFO] Booting worker with pid: 358761 [2024-08-18 09:12:42 +0800] [356944] [ERROR] Worker (pid:358703) was sent SIGKILL! Perhaps out of memory? [2024-08-18 09:12:42 +0800] [358804] [INFO] Booting worker with pid: 358804 [2024-08-18 09:12:49 +0800] [356944] [ERROR] Worker (pid:356951) was sent SIGKILL! Perhaps out of memory? [2024-08-18 09:12:49 +0800] [358807] [INFO] Booting worker with pid: 358807 [2024-08-18 09:12:52 +0800] [356944] [ERROR] Worker (pid:356946) was sent SIGKILL! Perhaps out of memory? [2024-08-18 09:12:52 +0800] [358810] [INFO] Booting worker with pid: 358810 [2024-08-18 09:13:03 +0800] [358816] [INFO] Starting gunicorn 23.0.0 [2024-08-18 09:13:03 +0800] [358816] [ERROR] Connection in use: ('0.0.0.0', 5000) [2024-08-18 09:13:03 +0800] [358816] [ERROR] connection to ('0.0.0.0', 5000) failed: [Errno 98] Address already in use [2024-08-18 09:13:04 +0800] [358816] [ERROR] Connection in use: ('0.0.0.0', 5000) [2024-08-18 09:13:04 +0800] [358816] [ERROR] connection to ('0.0.0.0', 5000) failed: [Errno 98] Address already in use [2024-08-18 09:13:05 +0800] [358816] [ERROR] Connection in use: ('0.0.0.0', 5000) [2024-08-18 09:13:05 +0800] [358816] [ERROR] connection to ('0.0.0.0', 5000) failed: [Errno 98] Address already in use [2024-08-18 09:13:06 +0800] [358816] [ERROR] Connection in use: ('0.0.0.0', 5000) [2024-08-18 09:13:06 +0800] [358816] [ERROR] connection to ('0.0.0.0', 5000) failed: [Errno 98] Address already in use [2024-08-18 09:13:07 +0800] [358816] [ERROR] Connection in use: ('0.0.0.0', 5000) [2024-08-18 09:13:07 +0800] [358816] [ERROR] connection to ('0.0.0.0', 5000) failed: [Errno 98] Address already in use [2024-08-18 09:13:08 +0800] [358816] [ERROR] Can't connect to ('0.0.0.0', 5000) [2024-08-18 09:13:11 +0800] [358804] [INFO] Parent changed, shutting down: [2024-08-18 09:13:11 +0800] [358804] [INFO] Worker exiting (pid: 358804) [2024-08-18 09:13:11,542] ERROR in app: Exception on /statistics/similarity/2021 [GET] Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1473, in wsgi_app response = self.full_dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 882, in full_dispatch_request rv = self.handle_user_exception(e) File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 880, in full_dispatch_request rv = self.dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 865, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return] File "/root/ggpx_statistics/app.py", line 79, in similarity matrix = pd.read_excel(handleGetData(id, ids), index_col=0) File "/root/ggpx_statistics/app.py", line 25, in handleGetData new_ids = [int(item) for item in ids.split(",")] File "/root/ggpx_statistics/app.py", line 25, in new_ids = [int(item) for item in ids.split(",")] ValueError: invalid literal for int() with base 10: '' [2024-08-18 09:13:11,543] ERROR in app: Exception on /statistics/pca/2021 [GET] Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1473, in wsgi_app response = self.full_dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 882, in full_dispatch_request rv = self.handle_user_exception(e) File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 880, in full_dispatch_request rv = self.dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 865, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return] File "/root/ggpx_statistics/app.py", line 62, in pca data = pd.read_excel(handleGetData(id, ids), index_col=0) File "/root/ggpx_statistics/app.py", line 25, in handleGetData new_ids = [int(item) for item in ids.split(",")] File "/root/ggpx_statistics/app.py", line 25, in new_ids = [int(item) for item in ids.split(",")] ValueError: invalid literal for int() with base 10: '' [2024-08-18 09:13:11,543] ERROR in app: Exception on /statistics/similarity2/2021 [GET] Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1473, in wsgi_app response = self.full_dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 882, in full_dispatch_request rv = self.handle_user_exception(e) File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 880, in full_dispatch_request rv = self.dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 865, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return] File "/root/ggpx_statistics/app.py", line 96, in similarity2 matrix = pd.read_excel(handleGetData(id, ids), index_col=0) File "/root/ggpx_statistics/app.py", line 25, in handleGetData new_ids = [int(item) for item in ids.split(",")] File "/root/ggpx_statistics/app.py", line 25, in new_ids = [int(item) for item in ids.split(",")] ValueError: invalid literal for int() with base 10: '' [2024-08-18 09:13:11 +0800] [358807] [INFO] Parent changed, shutting down: [2024-08-18 09:13:11 +0800] [358807] [INFO] Worker exiting (pid: 358807) [2024-08-18 09:13:11 +0800] [358810] [INFO] Parent changed, shutting down: [2024-08-18 09:13:11 +0800] [358810] [INFO] Worker exiting (pid: 358810) [2024-08-18 09:13:11 +0800] [358761] [INFO] Parent changed, shutting down: [2024-08-18 09:13:11 +0800] [358761] [INFO] Worker exiting (pid: 358761) [2024-08-18 09:22:01 +0800] [359012] [INFO] Starting gunicorn 23.0.0 [2024-08-18 09:22:01 +0800] [359012] [INFO] Listening at: http://0.0.0.0:5000 (359012) [2024-08-18 09:22:01 +0800] [359012] [INFO] Using worker: sync [2024-08-18 09:22:01 +0800] [359013] [INFO] Booting worker with pid: 359013 [2024-08-18 09:22:01 +0800] [359015] [INFO] Booting worker with pid: 359015 [2024-08-18 09:22:01 +0800] [359017] [INFO] Booting worker with pid: 359017 [2024-08-18 09:22:01 +0800] [359019] [INFO] Booting worker with pid: 359019 [2024-08-18 09:22:24,962] ERROR in app: Exception on /statistics/pca/2021 [GET] Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1473, in wsgi_app response = self.full_dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 882, in full_dispatch_request rv = self.handle_user_exception(e) File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 880, in full_dispatch_request rv = self.dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 865, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return] File "/root/ggpx_statistics/app.py", line 64, in pca pca_results = perform_pca(data) File "/root/ggpx_statistics/pca.py", line 13, in perform_pca principal_components = pca.fit_transform(data) File "/usr/local/lib/python3.10/dist-packages/sklearn/utils/_set_output.py", line 157, in wrapped data_to_wrap = f(self, X, *args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/sklearn/base.py", line 1152, in wrapper return fit_method(estimator, *args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/sklearn/decomposition/_pca.py", line 460, in fit_transform U, S, Vt = self._fit(X) File "/usr/local/lib/python3.10/dist-packages/sklearn/decomposition/_pca.py", line 510, in _fit return self._fit_full(X, n_components) File "/usr/local/lib/python3.10/dist-packages/sklearn/decomposition/_pca.py", line 524, in _fit_full raise ValueError( ValueError: n_components=2 must be between 0 and min(n_samples, n_features)=1 with svd_solver='full' [2024-08-18 09:22:24,999] ERROR in app: Exception on /statistics/similarity2/2021 [GET] Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1473, in wsgi_app response = self.full_dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 882, in full_dispatch_request rv = self.handle_user_exception(e) File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 880, in full_dispatch_request rv = self.dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 865, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return] File "/root/ggpx_statistics/app.py", line 104, in similarity2 img_bytes = plot_similarity_network(similarity_result, threshold=0.5) File "/root/ggpx_statistics/similarity.py", line 93, in plot_similarity_network width=weights, edge_color=weights, edge_cmap=plt.cm.Blues, edge_vmin=min(weights), ValueError: min() arg is an empty sequence [2024-08-18 09:23:02,806] ERROR in app: Exception on /statistics/similarity2/2021 [GET] Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1473, in wsgi_app response = self.full_dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 882, in full_dispatch_request rv = self.handle_user_exception(e) File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 880, in full_dispatch_request rv = self.dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 865, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return] File "/root/ggpx_statistics/app.py", line 104, in similarity2 img_bytes = plot_similarity_network(similarity_result, threshold=0.5) File "/root/ggpx_statistics/similarity.py", line 93, in plot_similarity_network width=weights, edge_color=weights, edge_cmap=plt.cm.Blues, edge_vmin=min(weights), ValueError: min() arg is an empty sequence [2024-08-18 09:23:32,320] ERROR in app: Exception on /statistics/similarity2/2021 [GET] Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1473, in wsgi_app response = self.full_dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 882, in full_dispatch_request rv = self.handle_user_exception(e) File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 880, in full_dispatch_request rv = self.dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 865, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return] File "/root/ggpx_statistics/app.py", line 104, in similarity2 img_bytes = plot_similarity_network(similarity_result, threshold=0.5) File "/root/ggpx_statistics/similarity.py", line 93, in plot_similarity_network width=weights, edge_color=weights, edge_cmap=plt.cm.Blues, edge_vmin=min(weights), ValueError: min() arg is an empty sequence [2024-08-18 09:23:32,329] ERROR in app: Exception on /statistics/pca/2021 [GET] Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1473, in wsgi_app response = self.full_dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 882, in full_dispatch_request rv = self.handle_user_exception(e) File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 880, in full_dispatch_request rv = self.dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 865, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return] File "/root/ggpx_statistics/app.py", line 64, in pca pca_results = perform_pca(data) File "/root/ggpx_statistics/pca.py", line 13, in perform_pca principal_components = pca.fit_transform(data) File "/usr/local/lib/python3.10/dist-packages/sklearn/utils/_set_output.py", line 157, in wrapped data_to_wrap = f(self, X, *args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/sklearn/base.py", line 1152, in wrapper return fit_method(estimator, *args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/sklearn/decomposition/_pca.py", line 460, in fit_transform U, S, Vt = self._fit(X) File "/usr/local/lib/python3.10/dist-packages/sklearn/decomposition/_pca.py", line 510, in _fit return self._fit_full(X, n_components) File "/usr/local/lib/python3.10/dist-packages/sklearn/decomposition/_pca.py", line 524, in _fit_full raise ValueError( ValueError: n_components=2 must be between 0 and min(n_samples, n_features)=1 with svd_solver='full' [2024-08-18 09:23:43,935] ERROR in app: Exception on /statistics/similarity2/2021 [GET] Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1473, in wsgi_app response = self.full_dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 882, in full_dispatch_request rv = self.handle_user_exception(e) File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 880, in full_dispatch_request rv = self.dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 865, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return] File "/root/ggpx_statistics/app.py", line 104, in similarity2 img_bytes = plot_similarity_network(similarity_result, threshold=0.5) File "/root/ggpx_statistics/similarity.py", line 93, in plot_similarity_network width=weights, edge_color=weights, edge_cmap=plt.cm.Blues, edge_vmin=min(weights), ValueError: min() arg is an empty sequence [2024-08-18 09:23:51,192] ERROR in app: Exception on /statistics/pca/2021 [GET] Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1473, in wsgi_app response = self.full_dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 882, in full_dispatch_request rv = self.handle_user_exception(e) File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 880, in full_dispatch_request rv = self.dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 865, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return] File "/root/ggpx_statistics/app.py", line 64, in pca pca_results = perform_pca(data) File "/root/ggpx_statistics/pca.py", line 13, in perform_pca principal_components = pca.fit_transform(data) File "/usr/local/lib/python3.10/dist-packages/sklearn/utils/_set_output.py", line 157, in wrapped data_to_wrap = f(self, X, *args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/sklearn/base.py", line 1152, in wrapper return fit_method(estimator, *args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/sklearn/decomposition/_pca.py", line 460, in fit_transform U, S, Vt = self._fit(X) File "/usr/local/lib/python3.10/dist-packages/sklearn/decomposition/_pca.py", line 510, in _fit return self._fit_full(X, n_components) File "/usr/local/lib/python3.10/dist-packages/sklearn/decomposition/_pca.py", line 524, in _fit_full raise ValueError( ValueError: n_components=2 must be between 0 and min(n_samples, n_features)=1 with svd_solver='full' [2024-08-18 09:23:51,199] ERROR in app: Exception on /statistics/similarity2/2021 [GET] Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1473, in wsgi_app response = self.full_dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 882, in full_dispatch_request rv = self.handle_user_exception(e) File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 880, in full_dispatch_request rv = self.dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 865, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return] File "/root/ggpx_statistics/app.py", line 104, in similarity2 img_bytes = plot_similarity_network(similarity_result, threshold=0.5) File "/root/ggpx_statistics/similarity.py", line 93, in plot_similarity_network width=weights, edge_color=weights, edge_cmap=plt.cm.Blues, edge_vmin=min(weights), ValueError: min() arg is an empty sequence [2024-08-18 09:23:57,592] ERROR in app: Exception on /statistics/similarity2/2021 [GET] Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1473, in wsgi_app response = self.full_dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 882, in full_dispatch_request rv = self.handle_user_exception(e) File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 880, in full_dispatch_request rv = self.dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 865, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return] File "/root/ggpx_statistics/app.py", line 104, in similarity2 img_bytes = plot_similarity_network(similarity_result, threshold=0.5) File "/root/ggpx_statistics/similarity.py", line 93, in plot_similarity_network width=weights, edge_color=weights, edge_cmap=plt.cm.Blues, edge_vmin=min(weights), ValueError: min() arg is an empty sequence [2024-08-18 09:25:51,960] ERROR in app: Exception on /statistics/similarity2/2021 [GET] Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1473, in wsgi_app response = self.full_dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 882, in full_dispatch_request rv = self.handle_user_exception(e) File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 880, in full_dispatch_request rv = self.dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 865, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return] File "/root/ggpx_statistics/app.py", line 104, in similarity2 img_bytes = plot_similarity_network(similarity_result, threshold=0.5) File "/root/ggpx_statistics/similarity.py", line 93, in plot_similarity_network width=weights, edge_color=weights, edge_cmap=plt.cm.Blues, edge_vmin=min(weights), ValueError: min() arg is an empty sequence [2024-08-18 09:25:57,446] ERROR in app: Exception on /statistics/pca/2021 [GET] Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1473, in wsgi_app response = self.full_dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 882, in full_dispatch_request rv = self.handle_user_exception(e) File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 880, in full_dispatch_request rv = self.dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 865, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return] File "/root/ggpx_statistics/app.py", line 64, in pca pca_results = perform_pca(data) File "/root/ggpx_statistics/pca.py", line 13, in perform_pca principal_components = pca.fit_transform(data) File "/usr/local/lib/python3.10/dist-packages/sklearn/utils/_set_output.py", line 157, in wrapped data_to_wrap = f(self, X, *args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/sklearn/base.py", line 1152, in wrapper return fit_method(estimator, *args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/sklearn/decomposition/_pca.py", line 460, in fit_transform U, S, Vt = self._fit(X) File "/usr/local/lib/python3.10/dist-packages/sklearn/decomposition/_pca.py", line 510, in _fit return self._fit_full(X, n_components) File "/usr/local/lib/python3.10/dist-packages/sklearn/decomposition/_pca.py", line 524, in _fit_full raise ValueError( ValueError: n_components=2 must be between 0 and min(n_samples, n_features)=1 with svd_solver='full' [2024-08-18 09:25:57,478] ERROR in app: Exception on /statistics/similarity2/2021 [GET] Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1473, in wsgi_app response = self.full_dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 882, in full_dispatch_request rv = self.handle_user_exception(e) File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 880, in full_dispatch_request rv = self.dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 865, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return] File "/root/ggpx_statistics/app.py", line 104, in similarity2 img_bytes = plot_similarity_network(similarity_result, threshold=0.5) File "/root/ggpx_statistics/similarity.py", line 93, in plot_similarity_network width=weights, edge_color=weights, edge_cmap=plt.cm.Blues, edge_vmin=min(weights), ValueError: min() arg is an empty sequence [2024-08-18 09:26:13,016] ERROR in app: Exception on /statistics/pca/2021 [GET] Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1473, in wsgi_app response = self.full_dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 882, in full_dispatch_request rv = self.handle_user_exception(e) File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 880, in full_dispatch_request rv = self.dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 865, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return] File "/root/ggpx_statistics/app.py", line 64, in pca pca_results = perform_pca(data) File "/root/ggpx_statistics/pca.py", line 13, in perform_pca principal_components = pca.fit_transform(data) File "/usr/local/lib/python3.10/dist-packages/sklearn/utils/_set_output.py", line 157, in wrapped data_to_wrap = f(self, X, *args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/sklearn/base.py", line 1152, in wrapper return fit_method(estimator, *args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/sklearn/decomposition/_pca.py", line 460, in fit_transform U, S, Vt = self._fit(X) File "/usr/local/lib/python3.10/dist-packages/sklearn/decomposition/_pca.py", line 510, in _fit return self._fit_full(X, n_components) File "/usr/local/lib/python3.10/dist-packages/sklearn/decomposition/_pca.py", line 524, in _fit_full raise ValueError( ValueError: n_components=2 must be between 0 and min(n_samples, n_features)=1 with svd_solver='full' [2024-08-18 09:26:13,031] ERROR in app: Exception on /statistics/similarity2/2021 [GET] Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1473, in wsgi_app response = self.full_dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 882, in full_dispatch_request rv = self.handle_user_exception(e) File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 880, in full_dispatch_request rv = self.dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 865, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return] File "/root/ggpx_statistics/app.py", line 104, in similarity2 img_bytes = plot_similarity_network(similarity_result, threshold=0.5) File "/root/ggpx_statistics/similarity.py", line 93, in plot_similarity_network width=weights, edge_color=weights, edge_cmap=plt.cm.Blues, edge_vmin=min(weights), ValueError: min() arg is an empty sequence [2024-08-18 09:27:13,850] ERROR in app: Exception on /statistics/similarity2/2021 [GET] Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1473, in wsgi_app response = self.full_dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 882, in full_dispatch_request rv = self.handle_user_exception(e) File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 880, in full_dispatch_request rv = self.dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 865, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return] File "/root/ggpx_statistics/app.py", line 104, in similarity2 img_bytes = plot_similarity_network(similarity_result, threshold=0.5) File "/root/ggpx_statistics/similarity.py", line 93, in plot_similarity_network width=weights, edge_color=weights, edge_cmap=plt.cm.Blues, edge_vmin=min(weights), ValueError: min() arg is an empty sequence [2024-08-18 09:27:25 +0800] [359012] [CRITICAL] WORKER TIMEOUT (pid:359019) [2024-08-18 09:27:26 +0800] [359012] [ERROR] Worker (pid:359019) was sent SIGKILL! Perhaps out of memory? [2024-08-18 09:27:26 +0800] [359165] [INFO] Booting worker with pid: 359165 [2024-08-18 09:41:49,326] ERROR in app: Exception on /statistics/similarity2/2021 [GET] Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1473, in wsgi_app response = self.full_dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 882, in full_dispatch_request rv = self.handle_user_exception(e) File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 880, in full_dispatch_request rv = self.dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 865, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return] File "/root/ggpx_statistics/app.py", line 104, in similarity2 img_bytes = plot_similarity_network(similarity_result, threshold=0.5) File "/root/ggpx_statistics/similarity.py", line 93, in plot_similarity_network width=weights, edge_color=weights, edge_cmap=plt.cm.Blues, edge_vmin=min(weights), ValueError: min() arg is an empty sequence [2024-08-18 09:41:49,293] ERROR in app: Exception on /statistics/pca/2021 [GET] Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1473, in wsgi_app response = self.full_dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 882, in full_dispatch_request rv = self.handle_user_exception(e) File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 880, in full_dispatch_request rv = self.dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 865, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return] File "/root/ggpx_statistics/app.py", line 64, in pca pca_results = perform_pca(data) File "/root/ggpx_statistics/pca.py", line 13, in perform_pca principal_components = pca.fit_transform(data) File "/usr/local/lib/python3.10/dist-packages/sklearn/utils/_set_output.py", line 157, in wrapped data_to_wrap = f(self, X, *args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/sklearn/base.py", line 1152, in wrapper return fit_method(estimator, *args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/sklearn/decomposition/_pca.py", line 460, in fit_transform U, S, Vt = self._fit(X) File "/usr/local/lib/python3.10/dist-packages/sklearn/decomposition/_pca.py", line 510, in _fit return self._fit_full(X, n_components) File "/usr/local/lib/python3.10/dist-packages/sklearn/decomposition/_pca.py", line 524, in _fit_full raise ValueError( ValueError: n_components=2 must be between 0 and min(n_samples, n_features)=1 with svd_solver='full' [2024-08-18 09:41:54,735] ERROR in app: Exception on /statistics/similarity2/2021 [GET] Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1473, in wsgi_app response = self.full_dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 882, in full_dispatch_request rv = self.handle_user_exception(e) File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 880, in full_dispatch_request rv = self.dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 865, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return] File "/root/ggpx_statistics/app.py", line 104, in similarity2 img_bytes = plot_similarity_network(similarity_result, threshold=0.5) File "/root/ggpx_statistics/similarity.py", line 93, in plot_similarity_network width=weights, edge_color=weights, edge_cmap=plt.cm.Blues, edge_vmin=min(weights), ValueError: min() arg is an empty sequence [2024-08-18 09:42:30,031] ERROR in app: Exception on /statistics/pca/2021 [GET] Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1473, in wsgi_app response = self.full_dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 882, in full_dispatch_request rv = self.handle_user_exception(e) File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 880, in full_dispatch_request rv = self.dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 865, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return] File "/root/ggpx_statistics/app.py", line 64, in pca pca_results = perform_pca(data) File "/root/ggpx_statistics/pca.py", line 13, in perform_pca principal_components = pca.fit_transform(data) File "/usr/local/lib/python3.10/dist-packages/sklearn/utils/_set_output.py", line 157, in wrapped data_to_wrap = f(self, X, *args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/sklearn/base.py", line 1152, in wrapper return fit_method(estimator, *args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/sklearn/decomposition/_pca.py", line 460, in fit_transform U, S, Vt = self._fit(X) File "/usr/local/lib/python3.10/dist-packages/sklearn/decomposition/_pca.py", line 510, in _fit return self._fit_full(X, n_components) File "/usr/local/lib/python3.10/dist-packages/sklearn/decomposition/_pca.py", line 524, in _fit_full raise ValueError( ValueError: n_components=2 must be between 0 and min(n_samples, n_features)=1 with svd_solver='full' [2024-08-18 09:42:30,042] ERROR in app: Exception on /statistics/similarity2/2021 [GET] Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1473, in wsgi_app response = self.full_dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 882, in full_dispatch_request rv = self.handle_user_exception(e) File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 880, in full_dispatch_request rv = self.dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 865, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return] File "/root/ggpx_statistics/app.py", line 104, in similarity2 img_bytes = plot_similarity_network(similarity_result, threshold=0.5) File "/root/ggpx_statistics/similarity.py", line 93, in plot_similarity_network width=weights, edge_color=weights, edge_cmap=plt.cm.Blues, edge_vmin=min(weights), ValueError: min() arg is an empty sequence [2024-08-18 09:42:35,962] ERROR in app: Exception on /statistics/similarity2/2021 [GET] Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1473, in wsgi_app response = self.full_dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 882, in full_dispatch_request rv = self.handle_user_exception(e) File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 880, in full_dispatch_request rv = self.dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 865, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return] File "/root/ggpx_statistics/app.py", line 104, in similarity2 img_bytes = plot_similarity_network(similarity_result, threshold=0.5) File "/root/ggpx_statistics/similarity.py", line 93, in plot_similarity_network width=weights, edge_color=weights, edge_cmap=plt.cm.Blues, edge_vmin=min(weights), ValueError: min() arg is an empty sequence [2024-08-18 22:40:47,695] ERROR in app: Exception on /statistics/pca/2021 [GET] Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1473, in wsgi_app response = self.full_dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 882, in full_dispatch_request rv = self.handle_user_exception(e) File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 880, in full_dispatch_request rv = self.dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 865, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return] File "/root/ggpx_statistics/app.py", line 64, in pca pca_results = perform_pca(data) File "/root/ggpx_statistics/pca.py", line 13, in perform_pca principal_components = pca.fit_transform(data) File "/usr/local/lib/python3.10/dist-packages/sklearn/utils/_set_output.py", line 157, in wrapped data_to_wrap = f(self, X, *args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/sklearn/base.py", line 1152, in wrapper return fit_method(estimator, *args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/sklearn/decomposition/_pca.py", line 460, in fit_transform U, S, Vt = self._fit(X) File "/usr/local/lib/python3.10/dist-packages/sklearn/decomposition/_pca.py", line 510, in _fit return self._fit_full(X, n_components) File "/usr/local/lib/python3.10/dist-packages/sklearn/decomposition/_pca.py", line 524, in _fit_full raise ValueError( ValueError: n_components=2 must be between 0 and min(n_samples, n_features)=1 with svd_solver='full' [2024-08-18 22:40:47,714] ERROR in app: Exception on /statistics/similarity2/2021 [GET] Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1473, in wsgi_app response = self.full_dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 882, in full_dispatch_request rv = self.handle_user_exception(e) File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 880, in full_dispatch_request rv = self.dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 865, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return] File "/root/ggpx_statistics/app.py", line 104, in similarity2 img_bytes = plot_similarity_network(similarity_result, threshold=0.5) File "/root/ggpx_statistics/similarity.py", line 93, in plot_similarity_network width=weights, edge_color=weights, edge_cmap=plt.cm.Blues, edge_vmin=min(weights), ValueError: min() arg is an empty sequence [2024-08-18 22:40:52,775] ERROR in app: Exception on /statistics/similarity2/2021 [GET] Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1473, in wsgi_app response = self.full_dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 882, in full_dispatch_request rv = self.handle_user_exception(e) File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 880, in full_dispatch_request rv = self.dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 865, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return] File "/root/ggpx_statistics/app.py", line 104, in similarity2 img_bytes = plot_similarity_network(similarity_result, threshold=0.5) File "/root/ggpx_statistics/similarity.py", line 93, in plot_similarity_network width=weights, edge_color=weights, edge_cmap=plt.cm.Blues, edge_vmin=min(weights), ValueError: min() arg is an empty sequence [2024-08-18 23:09:33,929] ERROR in app: Exception on /statistics/similarity2/2021 [GET] Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1473, in wsgi_app response = self.full_dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 882, in full_dispatch_request rv = self.handle_user_exception(e) File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 880, in full_dispatch_request rv = self.dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 865, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return] File "/root/ggpx_statistics/app.py", line 104, in similarity2 img_bytes = plot_similarity_network(similarity_result, threshold=0.5) File "/root/ggpx_statistics/similarity.py", line 93, in plot_similarity_network width=weights, edge_color=weights, edge_cmap=plt.cm.Blues, edge_vmin=min(weights), ValueError: min() arg is an empty sequence [2024-08-18 23:09:33,940] ERROR in app: Exception on /statistics/pca/2021 [GET] Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1473, in wsgi_app response = self.full_dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 882, in full_dispatch_request rv = self.handle_user_exception(e) File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 880, in full_dispatch_request rv = self.dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 865, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return] File "/root/ggpx_statistics/app.py", line 64, in pca pca_results = perform_pca(data) File "/root/ggpx_statistics/pca.py", line 13, in perform_pca principal_components = pca.fit_transform(data) File "/usr/local/lib/python3.10/dist-packages/sklearn/utils/_set_output.py", line 157, in wrapped data_to_wrap = f(self, X, *args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/sklearn/base.py", line 1152, in wrapper return fit_method(estimator, *args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/sklearn/decomposition/_pca.py", line 460, in fit_transform U, S, Vt = self._fit(X) File "/usr/local/lib/python3.10/dist-packages/sklearn/decomposition/_pca.py", line 510, in _fit return self._fit_full(X, n_components) File "/usr/local/lib/python3.10/dist-packages/sklearn/decomposition/_pca.py", line 524, in _fit_full raise ValueError( ValueError: n_components=2 must be between 0 and min(n_samples, n_features)=1 with svd_solver='full' [2024-08-18 23:09:40,785] ERROR in app: Exception on /statistics/similarity2/2021 [GET] Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1473, in wsgi_app response = self.full_dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 882, in full_dispatch_request rv = self.handle_user_exception(e) File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 880, in full_dispatch_request rv = self.dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 865, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return] File "/root/ggpx_statistics/app.py", line 104, in similarity2 img_bytes = plot_similarity_network(similarity_result, threshold=0.5) File "/root/ggpx_statistics/similarity.py", line 93, in plot_similarity_network width=weights, edge_color=weights, edge_cmap=plt.cm.Blues, edge_vmin=min(weights), ValueError: min() arg is an empty sequence [2024-08-19 10:22:37,624] ERROR in app: Exception on /statistics/pca/2021 [GET] Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1473, in wsgi_app response = self.full_dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 882, in full_dispatch_request rv = self.handle_user_exception(e) File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 880, in full_dispatch_request rv = self.dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 865, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return] File "/root/ggpx_statistics/app.py", line 64, in pca pca_results = perform_pca(data) File "/root/ggpx_statistics/pca.py", line 13, in perform_pca principal_components = pca.fit_transform(data) File "/usr/local/lib/python3.10/dist-packages/sklearn/utils/_set_output.py", line 157, in wrapped data_to_wrap = f(self, X, *args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/sklearn/base.py", line 1152, in wrapper return fit_method(estimator, *args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/sklearn/decomposition/_pca.py", line 460, in fit_transform U, S, Vt = self._fit(X) File "/usr/local/lib/python3.10/dist-packages/sklearn/decomposition/_pca.py", line 510, in _fit return self._fit_full(X, n_components) File "/usr/local/lib/python3.10/dist-packages/sklearn/decomposition/_pca.py", line 524, in _fit_full raise ValueError( ValueError: n_components=2 must be between 0 and min(n_samples, n_features)=1 with svd_solver='full' [2024-08-19 10:22:37,649] ERROR in app: Exception on /statistics/similarity2/2021 [GET] Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1473, in wsgi_app response = self.full_dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 882, in full_dispatch_request rv = self.handle_user_exception(e) File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 880, in full_dispatch_request rv = self.dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 865, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return] File "/root/ggpx_statistics/app.py", line 104, in similarity2 img_bytes = plot_similarity_network(similarity_result, threshold=0.5) File "/root/ggpx_statistics/similarity.py", line 93, in plot_similarity_network width=weights, edge_color=weights, edge_cmap=plt.cm.Blues, edge_vmin=min(weights), ValueError: min() arg is an empty sequence [2024-08-19 10:22:42,285] ERROR in app: Exception on /statistics/similarity2/2021 [GET] Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1473, in wsgi_app response = self.full_dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 882, in full_dispatch_request rv = self.handle_user_exception(e) File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 880, in full_dispatch_request rv = self.dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 865, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return] File "/root/ggpx_statistics/app.py", line 104, in similarity2 img_bytes = plot_similarity_network(similarity_result, threshold=0.5) File "/root/ggpx_statistics/similarity.py", line 93, in plot_similarity_network width=weights, edge_color=weights, edge_cmap=plt.cm.Blues, edge_vmin=min(weights), ValueError: min() arg is an empty sequence [2024-08-19 10:31:21,565] ERROR in app: Exception on /statistics/pca/2026 [GET] Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1473, in wsgi_app response = self.full_dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 882, in full_dispatch_request rv = self.handle_user_exception(e) File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 880, in full_dispatch_request rv = self.dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 865, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return] File "/root/ggpx_statistics/app.py", line 64, in pca pca_results = perform_pca(data) File "/root/ggpx_statistics/pca.py", line 13, in perform_pca principal_components = pca.fit_transform(data) File "/usr/local/lib/python3.10/dist-packages/sklearn/utils/_set_output.py", line 157, in wrapped data_to_wrap = f(self, X, *args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/sklearn/base.py", line 1152, in wrapper return fit_method(estimator, *args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/sklearn/decomposition/_pca.py", line 460, in fit_transform U, S, Vt = self._fit(X) File "/usr/local/lib/python3.10/dist-packages/sklearn/decomposition/_pca.py", line 510, in _fit return self._fit_full(X, n_components) File "/usr/local/lib/python3.10/dist-packages/sklearn/decomposition/_pca.py", line 524, in _fit_full raise ValueError( ValueError: n_components=2 must be between 0 and min(n_samples, n_features)=1 with svd_solver='full' [2024-08-19 10:31:21,566] ERROR in app: Exception on /statistics/similarity2/2026 [GET] Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1473, in wsgi_app response = self.full_dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 882, in full_dispatch_request rv = self.handle_user_exception(e) File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 880, in full_dispatch_request rv = self.dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 865, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return] File "/root/ggpx_statistics/app.py", line 104, in similarity2 img_bytes = plot_similarity_network(similarity_result, threshold=0.5) File "/root/ggpx_statistics/similarity.py", line 93, in plot_similarity_network width=weights, edge_color=weights, edge_cmap=plt.cm.Blues, edge_vmin=min(weights), ValueError: min() arg is an empty sequence [2024-08-19 10:32:38,037] ERROR in app: Exception on /statistics/pca/2026 [GET] Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1473, in wsgi_app response = self.full_dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 882, in full_dispatch_request rv = self.handle_user_exception(e) File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 880, in full_dispatch_request rv = self.dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 865, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return] File "/root/ggpx_statistics/app.py", line 64, in pca pca_results = perform_pca(data) File "/root/ggpx_statistics/pca.py", line 13, in perform_pca principal_components = pca.fit_transform(data) File "/usr/local/lib/python3.10/dist-packages/sklearn/utils/_set_output.py", line 157, in wrapped data_to_wrap = f(self, X, *args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/sklearn/base.py", line 1152, in wrapper return fit_method(estimator, *args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/sklearn/decomposition/_pca.py", line 460, in fit_transform U, S, Vt = self._fit(X) File "/usr/local/lib/python3.10/dist-packages/sklearn/decomposition/_pca.py", line 510, in _fit return self._fit_full(X, n_components) File "/usr/local/lib/python3.10/dist-packages/sklearn/decomposition/_pca.py", line 524, in _fit_full raise ValueError( ValueError: n_components=2 must be between 0 and min(n_samples, n_features)=1 with svd_solver='full' [2024-08-19 10:32:38,050] ERROR in app: Exception on /statistics/similarity2/2026 [GET] Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1473, in wsgi_app response = self.full_dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 882, in full_dispatch_request rv = self.handle_user_exception(e) File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 880, in full_dispatch_request rv = self.dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 865, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return] File "/root/ggpx_statistics/app.py", line 104, in similarity2 img_bytes = plot_similarity_network(similarity_result, threshold=0.5) File "/root/ggpx_statistics/similarity.py", line 93, in plot_similarity_network width=weights, edge_color=weights, edge_cmap=plt.cm.Blues, edge_vmin=min(weights), ValueError: min() arg is an empty sequence [2024-08-19 10:33:36,642] ERROR in app: Exception on /statistics/similarity2/2026 [GET] Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1473, in wsgi_app response = self.full_dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 882, in full_dispatch_request rv = self.handle_user_exception(e) File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 880, in full_dispatch_request rv = self.dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 865, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return] File "/root/ggpx_statistics/app.py", line 104, in similarity2 img_bytes = plot_similarity_network(similarity_result, threshold=0.5) File "/root/ggpx_statistics/similarity.py", line 93, in plot_similarity_network width=weights, edge_color=weights, edge_cmap=plt.cm.Blues, edge_vmin=min(weights), ValueError: min() arg is an empty sequence [2024-08-19 11:17:47,420] ERROR in app: Exception on /statistics/similarity2/2026 [GET] Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1473, in wsgi_app response = self.full_dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 882, in full_dispatch_request rv = self.handle_user_exception(e) File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 880, in full_dispatch_request rv = self.dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 865, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return] File "/root/ggpx_statistics/app.py", line 104, in similarity2 img_bytes = plot_similarity_network(similarity_result, threshold=0.5) File "/root/ggpx_statistics/similarity.py", line 93, in plot_similarity_network width=weights, edge_color=weights, edge_cmap=plt.cm.Blues, edge_vmin=min(weights), ValueError: min() arg is an empty sequence [2024-08-19 11:31:48,994] ERROR in app: Exception on /statistics/similarity2/2026 [GET] Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1473, in wsgi_app response = self.full_dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 882, in full_dispatch_request rv = self.handle_user_exception(e) File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 880, in full_dispatch_request rv = self.dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 865, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return] File "/root/ggpx_statistics/app.py", line 104, in similarity2 img_bytes = plot_similarity_network(similarity_result, threshold=0.5) File "/root/ggpx_statistics/similarity.py", line 93, in plot_similarity_network width=weights, edge_color=weights, edge_cmap=plt.cm.Blues, edge_vmin=min(weights), ValueError: min() arg is an empty sequence [2024-08-19 14:29:16 +0800] [406278] [INFO] Starting gunicorn 23.0.0 [2024-08-19 14:29:16 +0800] [406278] [INFO] Listening at: http://0.0.0.0:5000 (406278) [2024-08-19 14:29:16 +0800] [406278] [INFO] Using worker: sync [2024-08-19 14:29:16 +0800] [406279] [INFO] Booting worker with pid: 406279 [2024-08-19 14:29:16 +0800] [406280] [INFO] Booting worker with pid: 406280 [2024-08-19 14:29:16 +0800] [406281] [INFO] Booting worker with pid: 406281 [2024-08-19 14:29:16 +0800] [406282] [INFO] Booting worker with pid: 406282 [2024-08-19 14:29:25,649] ERROR in app: Exception on /statistics/pca/2021 [GET] Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1473, in wsgi_app response = self.full_dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 882, in full_dispatch_request rv = self.handle_user_exception(e) File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 880, in full_dispatch_request rv = self.dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 865, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return] File "/root/ggpx_statistics/app.py", line 73, in pca img_bytes = plot_pca_scatter(pca_results, labels=data.index) File "/root/ggpx_statistics/pca.py", line 20, in plot_pca_scatter if df.shape[0] == 1: AttributeError: '_io.BytesIO' object has no attribute 'shape' [2024-08-19 14:29:41,982] ERROR in app: Exception on /statistics/pca/2021 [GET] Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1473, in wsgi_app response = self.full_dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 882, in full_dispatch_request rv = self.handle_user_exception(e) File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 880, in full_dispatch_request rv = self.dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 865, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return] File "/root/ggpx_statistics/app.py", line 73, in pca img_bytes = plot_pca_scatter(pca_results, labels=data.index) File "/root/ggpx_statistics/pca.py", line 20, in plot_pca_scatter if df.shape[0] == 1: AttributeError: 'NoneType' object has no attribute 'shape' [2024-08-19 14:29:48,213] ERROR in app: Exception on /statistics/pca/2021 [GET] Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1473, in wsgi_app response = self.full_dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 882, in full_dispatch_request rv = self.handle_user_exception(e) File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 880, in full_dispatch_request rv = self.dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 865, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return] File "/root/ggpx_statistics/app.py", line 73, in pca img_bytes = plot_pca_scatter(pca_results, labels=data.index) File "/root/ggpx_statistics/pca.py", line 20, in plot_pca_scatter if df.shape[0] == 1: AttributeError: '_io.BytesIO' object has no attribute 'shape' [2024-08-19 14:29:54,616] ERROR in app: Exception on /statistics/pca/2021 [GET] Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1473, in wsgi_app response = self.full_dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 882, in full_dispatch_request rv = self.handle_user_exception(e) File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 880, in full_dispatch_request rv = self.dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 865, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return] File "/root/ggpx_statistics/app.py", line 73, in pca img_bytes = plot_pca_scatter(pca_results, labels=data.index) File "/root/ggpx_statistics/pca.py", line 20, in plot_pca_scatter if df.shape[0] == 1: AttributeError: '_io.BytesIO' object has no attribute 'shape' [2024-08-19 14:30:07,128] ERROR in app: Exception on /statistics/pca/2021 [GET] Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1473, in wsgi_app response = self.full_dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 882, in full_dispatch_request rv = self.handle_user_exception(e) File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 880, in full_dispatch_request rv = self.dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 865, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return] File "/root/ggpx_statistics/app.py", line 73, in pca img_bytes = plot_pca_scatter(pca_results, labels=data.index) File "/root/ggpx_statistics/pca.py", line 20, in plot_pca_scatter if df.shape[0] == 1: AttributeError: '_io.BytesIO' object has no attribute 'shape' [2024-08-19 14:30:40,536] ERROR in app: Exception on /statistics/similarity2/2021 [GET] Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1473, in wsgi_app response = self.full_dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 882, in full_dispatch_request rv = self.handle_user_exception(e) File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 880, in full_dispatch_request rv = self.dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 865, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return] File "/root/ggpx_statistics/app.py", line 109, in similarity2 img_bytes = plot_similarity_network(similarity_result, threshold=0.5) File "/root/ggpx_statistics/similarity.py", line 98, in plot_similarity_network width=weights, edge_color=weights, edge_cmap=plt.cm.Blues, edge_vmin=min(weights), ValueError: min() arg is an empty sequence [2024-08-19 14:37:43,901] ERROR in app: Exception on /statistics/pca/2021 [GET] Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1473, in wsgi_app response = self.full_dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 882, in full_dispatch_request rv = self.handle_user_exception(e) File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 880, in full_dispatch_request rv = self.dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 865, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return] File "/root/ggpx_statistics/app.py", line 73, in pca img_bytes = plot_pca_scatter(pca_results, labels=data.index) File "/root/ggpx_statistics/pca.py", line 20, in plot_pca_scatter if df.shape[0] == 1: AttributeError: '_io.BytesIO' object has no attribute 'shape' [2024-08-19 14:37:50,883] ERROR in app: Exception on /statistics/pca/2021 [GET] Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1473, in wsgi_app response = self.full_dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 882, in full_dispatch_request rv = self.handle_user_exception(e) File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 880, in full_dispatch_request rv = self.dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 865, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return] File "/root/ggpx_statistics/app.py", line 73, in pca img_bytes = plot_pca_scatter(pca_results, labels=data.index) File "/root/ggpx_statistics/pca.py", line 20, in plot_pca_scatter if df.shape[0] == 1: AttributeError: '_io.BytesIO' object has no attribute 'shape' [2024-08-19 14:45:22 +0800] [406728] [INFO] Starting gunicorn 23.0.0 [2024-08-19 14:45:22 +0800] [406728] [INFO] Listening at: http://0.0.0.0:5000 (406728) [2024-08-19 14:45:22 +0800] [406728] [INFO] Using worker: sync [2024-08-19 14:45:22 +0800] [406729] [INFO] Booting worker with pid: 406729 [2024-08-19 14:45:22 +0800] [406730] [INFO] Booting worker with pid: 406730 [2024-08-19 14:45:22 +0800] [406731] [INFO] Booting worker with pid: 406731 [2024-08-19 14:45:22 +0800] [406732] [INFO] Booting worker with pid: 406732 [2024-08-19 14:49:40,874] ERROR in app: Exception on /statistics/pca/2021 [GET] Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1473, in wsgi_app response = self.full_dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 882, in full_dispatch_request rv = self.handle_user_exception(e) File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 880, in full_dispatch_request rv = self.dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 865, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return] File "/root/ggpx_statistics/app.py", line 73, in pca response = make_response(img_bytes.read()) AttributeError: 'NoneType' object has no attribute 'read' [2024-08-19 14:49:40,893] ERROR in app: Exception on /statistics/similarity2/2021 [GET] Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1473, in wsgi_app response = self.full_dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 882, in full_dispatch_request rv = self.handle_user_exception(e) File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 880, in full_dispatch_request rv = self.dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 865, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return] File "/root/ggpx_statistics/app.py", line 107, in similarity2 img_bytes = plot_similarity_network(similarity_result, threshold=0.5) File "/root/ggpx_statistics/similarity.py", line 102, in plot_similarity_network width=weights, edge_color=weights, edge_cmap=plt.cm.Blues, edge_vmin=min(weights), ValueError: min() arg is an empty sequence [2024-08-19 14:50:34,380] ERROR in app: Exception on /statistics/similarity2/2021 [GET] Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1473, in wsgi_app response = self.full_dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 882, in full_dispatch_request rv = self.handle_user_exception(e) File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 880, in full_dispatch_request rv = self.dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 865, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return] File "/root/ggpx_statistics/app.py", line 107, in similarity2 img_bytes = plot_similarity_network(similarity_result, threshold=0.5) File "/root/ggpx_statistics/similarity.py", line 102, in plot_similarity_network width=weights, edge_color=weights, edge_cmap=plt.cm.Blues, edge_vmin=min(weights), ValueError: min() arg is an empty sequence [2024-08-19 14:54:11 +0800] [406957] [INFO] Starting gunicorn 23.0.0 [2024-08-19 14:54:11 +0800] [406957] [INFO] Listening at: http://0.0.0.0:5000 (406957) [2024-08-19 14:54:11 +0800] [406957] [INFO] Using worker: sync [2024-08-19 14:54:11 +0800] [406958] [INFO] Booting worker with pid: 406958 [2024-08-19 14:54:11 +0800] [406959] [INFO] Booting worker with pid: 406959 [2024-08-19 14:54:11 +0800] [406962] [INFO] Booting worker with pid: 406962 [2024-08-19 14:54:12 +0800] [406964] [INFO] Booting worker with pid: 406964 [2024-08-19 14:54:39,090] ERROR in app: Exception on /statistics/similarity2/2021 [GET] Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1473, in wsgi_app response = self.full_dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 882, in full_dispatch_request rv = self.handle_user_exception(e) File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 880, in full_dispatch_request rv = self.dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 865, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return] File "/root/ggpx_statistics/app.py", line 107, in similarity2 img_bytes = plot_similarity_network(similarity_result, threshold=0.5) File "/root/ggpx_statistics/similarity.py", line 102, in plot_similarity_network width=weights, edge_color=weights, edge_cmap=plt.cm.Blues, edge_vmin=min(weights), ValueError: min() arg is an empty sequence [2024-08-19 14:54:39,987] ERROR in app: Exception on /statistics/pca/2021 [GET] Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1473, in wsgi_app response = self.full_dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 882, in full_dispatch_request rv = self.handle_user_exception(e) File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 880, in full_dispatch_request rv = self.dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 865, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return] File "/root/ggpx_statistics/app.py", line 73, in pca response = make_response(img_bytes.read()) AttributeError: 'NoneType' object has no attribute 'read' [2024-08-19 14:55:23,175] ERROR in app: Exception on /statistics/similarity2/2021 [GET] Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1473, in wsgi_app response = self.full_dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 882, in full_dispatch_request rv = self.handle_user_exception(e) File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 880, in full_dispatch_request rv = self.dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 865, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return] File "/root/ggpx_statistics/app.py", line 107, in similarity2 img_bytes = plot_similarity_network(similarity_result, threshold=0.5) File "/root/ggpx_statistics/similarity.py", line 102, in plot_similarity_network width=weights, edge_color=weights, edge_cmap=plt.cm.Blues, edge_vmin=min(weights), ValueError: min() arg is an empty sequence [2024-08-19 15:08:55,512] ERROR in app: Exception on /statistics/similarity2/2021 [GET] Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1473, in wsgi_app response = self.full_dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 882, in full_dispatch_request rv = self.handle_user_exception(e) File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 880, in full_dispatch_request rv = self.dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 865, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return] File "/root/ggpx_statistics/app.py", line 107, in similarity2 img_bytes = plot_similarity_network(similarity_result, threshold=0.5) File "/root/ggpx_statistics/similarity.py", line 102, in plot_similarity_network width=weights, edge_color=weights, edge_cmap=plt.cm.Blues, edge_vmin=min(weights), ValueError: min() arg is an empty sequence [2024-08-19 15:08:55,536] ERROR in app: Exception on /statistics/pca/2021 [GET] Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1473, in wsgi_app response = self.full_dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 882, in full_dispatch_request rv = self.handle_user_exception(e) File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 880, in full_dispatch_request rv = self.dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 865, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return] File "/root/ggpx_statistics/app.py", line 73, in pca response = make_response(img_bytes.read()) AttributeError: 'NoneType' object has no attribute 'read' [2024-08-19 15:20:12 +0800] [407775] [INFO] Starting gunicorn 23.0.0 [2024-08-19 15:20:12 +0800] [407775] [INFO] Listening at: http://0.0.0.0:5000 (407775) [2024-08-19 15:20:12 +0800] [407775] [INFO] Using worker: sync [2024-08-19 15:20:12 +0800] [407776] [INFO] Booting worker with pid: 407776 [2024-08-19 15:20:12 +0800] [407777] [INFO] Booting worker with pid: 407777 [2024-08-19 15:20:12 +0800] [407778] [INFO] Booting worker with pid: 407778 [2024-08-19 15:20:12 +0800] [407779] [INFO] Booting worker with pid: 407779 [2024-08-19 15:25:20 +0800] [407775] [CRITICAL] WORKER TIMEOUT (pid:407776) [2024-08-19 15:25:20 +0800] [407775] [CRITICAL] WORKER TIMEOUT (pid:407777) [2024-08-19 15:25:20 +0800] [407775] [CRITICAL] WORKER TIMEOUT (pid:407779) [2024-08-19 15:25:21 +0800] [407775] [ERROR] Worker (pid:407777) was sent SIGKILL! Perhaps out of memory? [2024-08-19 15:25:21 +0800] [407775] [ERROR] Worker (pid:407779) was sent SIGKILL! Perhaps out of memory? [2024-08-19 15:25:21 +0800] [407938] [INFO] Booting worker with pid: 407938 [2024-08-19 15:25:21 +0800] [407775] [ERROR] Worker (pid:407776) was sent SIGKILL! Perhaps out of memory? [2024-08-19 15:25:21 +0800] [407939] [INFO] Booting worker with pid: 407939 [2024-08-19 15:25:21 +0800] [407942] [INFO] Booting worker with pid: 407942 [2024-08-19 15:25:35 +0800] [407775] [CRITICAL] WORKER TIMEOUT (pid:407778) [2024-08-19 15:25:36 +0800] [407775] [ERROR] Worker (pid:407778) was sent SIGKILL! Perhaps out of memory? [2024-08-19 15:25:36 +0800] [407947] [INFO] Booting worker with pid: 407947 [2024-08-19 15:25:43,339] ERROR in app: Exception on /statistics/similarity2/2021 [GET] Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1473, in wsgi_app response = self.full_dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 882, in full_dispatch_request rv = self.handle_user_exception(e) File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 880, in full_dispatch_request rv = self.dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 865, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return] File "/root/ggpx_statistics/app.py", line 107, in similarity2 img_bytes = plot_similarity_network(similarity_result, threshold=0.5) File "/root/ggpx_statistics/similarity.py", line 98, in plot_similarity_network width=weights, edge_color=weights, edge_cmap=plt.cm.Blues, edge_vmin=min(weights), ValueError: min() arg is an empty sequence [2024-08-19 15:28:14,834] ERROR in app: Exception on /statistics/similarity2/2021 [GET] Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1473, in wsgi_app response = self.full_dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 882, in full_dispatch_request rv = self.handle_user_exception(e) File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 880, in full_dispatch_request rv = self.dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 865, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return] File "/root/ggpx_statistics/app.py", line 107, in similarity2 img_bytes = plot_similarity_network(similarity_result, threshold=0.5) File "/root/ggpx_statistics/similarity.py", line 98, in plot_similarity_network width=weights, edge_color=weights, edge_cmap=plt.cm.Blues, edge_vmin=min(weights), ValueError: min() arg is an empty sequence [2024-08-19 15:29:30,408] ERROR in app: Exception on /statistics/similarity2/2021 [GET] Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1473, in wsgi_app response = self.full_dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 882, in full_dispatch_request rv = self.handle_user_exception(e) File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 880, in full_dispatch_request rv = self.dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 865, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return] File "/root/ggpx_statistics/app.py", line 107, in similarity2 img_bytes = plot_similarity_network(similarity_result, threshold=0.5) File "/root/ggpx_statistics/similarity.py", line 98, in plot_similarity_network width=weights, edge_color=weights, edge_cmap=plt.cm.Blues, edge_vmin=min(weights), ValueError: min() arg is an empty sequence [2024-08-19 15:29:47,939] ERROR in app: Exception on /statistics/similarity2/2021 [GET] Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1473, in wsgi_app response = self.full_dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 882, in full_dispatch_request rv = self.handle_user_exception(e) File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 880, in full_dispatch_request rv = self.dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 865, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return] File "/root/ggpx_statistics/app.py", line 107, in similarity2 img_bytes = plot_similarity_network(similarity_result, threshold=0.5) File "/root/ggpx_statistics/similarity.py", line 98, in plot_similarity_network width=weights, edge_color=weights, edge_cmap=plt.cm.Blues, edge_vmin=min(weights), ValueError: min() arg is an empty sequence [2024-08-19 15:30:03,026] ERROR in app: Exception on /statistics/similarity2/2021 [GET] Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1473, in wsgi_app response = self.full_dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 882, in full_dispatch_request rv = self.handle_user_exception(e) File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 880, in full_dispatch_request rv = self.dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 865, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return] File "/root/ggpx_statistics/app.py", line 107, in similarity2 img_bytes = plot_similarity_network(similarity_result, threshold=0.5) File "/root/ggpx_statistics/similarity.py", line 98, in plot_similarity_network width=weights, edge_color=weights, edge_cmap=plt.cm.Blues, edge_vmin=min(weights), ValueError: min() arg is an empty sequence [2024-08-19 15:30:13,530] ERROR in app: Exception on /statistics/similarity2/2021 [GET] Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1473, in wsgi_app response = self.full_dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 882, in full_dispatch_request rv = self.handle_user_exception(e) File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 880, in full_dispatch_request rv = self.dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 865, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return] File "/root/ggpx_statistics/app.py", line 107, in similarity2 img_bytes = plot_similarity_network(similarity_result, threshold=0.5) File "/root/ggpx_statistics/similarity.py", line 98, in plot_similarity_network width=weights, edge_color=weights, edge_cmap=plt.cm.Blues, edge_vmin=min(weights), ValueError: min() arg is an empty sequence [2024-08-19 15:43:01 +0800] [408344] [INFO] Starting gunicorn 23.0.0 [2024-08-19 15:43:01 +0800] [408344] [INFO] Listening at: http://0.0.0.0:5000 (408344) [2024-08-19 15:43:01 +0800] [408344] [INFO] Using worker: sync [2024-08-19 15:43:01 +0800] [408345] [INFO] Booting worker with pid: 408345 [2024-08-19 15:43:01 +0800] [408346] [INFO] Booting worker with pid: 408346 [2024-08-19 15:43:01 +0800] [408347] [INFO] Booting worker with pid: 408347 [2024-08-19 15:43:01 +0800] [408348] [INFO] Booting worker with pid: 408348 [2024-08-19 15:43:22,631] ERROR in app: Exception on /statistics/similarity2/2021 [GET] Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1473, in wsgi_app response = self.full_dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 882, in full_dispatch_request rv = self.handle_user_exception(e) File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 880, in full_dispatch_request rv = self.dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 865, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return] File "/root/ggpx_statistics/app.py", line 107, in similarity2 img_bytes = plot_similarity_network(similarity_result, threshold=0.5) File "/root/ggpx_statistics/similarity.py", line 98, in plot_similarity_network width=weights, edge_color=weights, edge_cmap=plt.cm.Blues, edge_vmin=min(weights), ValueError: min() arg is an empty sequence [2024-08-19 15:57:39,794] ERROR in app: Exception on /statistics/similarity2/2021 [GET] Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1473, in wsgi_app response = self.full_dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 882, in full_dispatch_request rv = self.handle_user_exception(e) File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 880, in full_dispatch_request rv = self.dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 865, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return] File "/root/ggpx_statistics/app.py", line 107, in similarity2 img_bytes = plot_similarity_network(similarity_result, threshold=0.5) File "/root/ggpx_statistics/similarity.py", line 98, in plot_similarity_network width=weights, edge_color=weights, edge_cmap=plt.cm.Blues, edge_vmin=min(weights), ValueError: min() arg is an empty sequence [2024-08-19 16:04:06,967] ERROR in app: Exception on /statistics/similarity2/2021 [GET] Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1473, in wsgi_app response = self.full_dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 882, in full_dispatch_request rv = self.handle_user_exception(e) File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 880, in full_dispatch_request rv = self.dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 865, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return] File "/root/ggpx_statistics/app.py", line 107, in similarity2 img_bytes = plot_similarity_network(similarity_result, threshold=0.5) File "/root/ggpx_statistics/similarity.py", line 98, in plot_similarity_network width=weights, edge_color=weights, edge_cmap=plt.cm.Blues, edge_vmin=min(weights), ValueError: min() arg is an empty sequence [2024-08-19 16:05:19 +0800] [409069] [INFO] Starting gunicorn 23.0.0 [2024-08-19 16:05:19 +0800] [409069] [INFO] Listening at: http://0.0.0.0:5000 (409069) [2024-08-19 16:05:19 +0800] [409069] [INFO] Using worker: sync [2024-08-19 16:05:19 +0800] [409070] [INFO] Booting worker with pid: 409070 [2024-08-19 16:05:19 +0800] [409072] [INFO] Booting worker with pid: 409072 [2024-08-19 16:05:19 +0800] [409073] [INFO] Booting worker with pid: 409073 [2024-08-19 16:05:19 +0800] [409076] [INFO] Booting worker with pid: 409076 [2024-08-19 16:08:35,101] ERROR in app: Exception on /statistics/similarity2/2021 [GET] Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1473, in wsgi_app response = self.full_dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 882, in full_dispatch_request rv = self.handle_user_exception(e) File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 880, in full_dispatch_request rv = self.dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 865, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return] File "/root/ggpx_statistics/app.py", line 107, in similarity2 img_bytes = plot_similarity_network(similarity_result, threshold=0.5) File "/root/ggpx_statistics/similarity.py", line 98, in plot_similarity_network width=weights, edge_color=weights, edge_cmap=plt.cm.Blues, edge_vmin=min(weights), ValueError: min() arg is an empty sequence [2024-08-19 16:08:57,713] ERROR in app: Exception on /statistics/similarity2/2029 [GET] Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1473, in wsgi_app response = self.full_dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 882, in full_dispatch_request rv = self.handle_user_exception(e) File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 880, in full_dispatch_request rv = self.dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 865, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return] File "/root/ggpx_statistics/app.py", line 107, in similarity2 img_bytes = plot_similarity_network(similarity_result, threshold=0.5) File "/root/ggpx_statistics/similarity.py", line 98, in plot_similarity_network width=weights, edge_color=weights, edge_cmap=plt.cm.Blues, edge_vmin=min(weights), ValueError: min() arg is an empty sequence [2024-08-19 16:12:45,652] ERROR in app: Exception on /statistics/similarity2/2021 [GET] Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1473, in wsgi_app response = self.full_dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 882, in full_dispatch_request rv = self.handle_user_exception(e) File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 880, in full_dispatch_request rv = self.dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 865, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return] File "/root/ggpx_statistics/app.py", line 107, in similarity2 img_bytes = plot_similarity_network(similarity_result, threshold=0.5) File "/root/ggpx_statistics/similarity.py", line 98, in plot_similarity_network width=weights, edge_color=weights, edge_cmap=plt.cm.Blues, edge_vmin=min(weights), ValueError: min() arg is an empty sequence [2024-08-19 16:13:46 +0800] [409766] [INFO] Starting gunicorn 23.0.0 [2024-08-19 16:13:46 +0800] [409766] [INFO] Listening at: http://0.0.0.0:5000 (409766) [2024-08-19 16:13:46 +0800] [409766] [INFO] Using worker: sync [2024-08-19 16:13:46 +0800] [409767] [INFO] Booting worker with pid: 409767 [2024-08-19 16:13:46 +0800] [409768] [INFO] Booting worker with pid: 409768 [2024-08-19 16:13:46 +0800] [409769] [INFO] Booting worker with pid: 409769 [2024-08-19 16:13:46 +0800] [409770] [INFO] Booting worker with pid: 409770 [2024-08-19 16:14:39,337] ERROR in app: Exception on /statistics/similarity2/2021 [GET] Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1473, in wsgi_app response = self.full_dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 882, in full_dispatch_request rv = self.handle_user_exception(e) File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 880, in full_dispatch_request rv = self.dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 865, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return] File "/root/ggpx_statistics/app.py", line 107, in similarity2 img_bytes = plot_similarity_network(similarity_result, threshold=0.5) File "/root/ggpx_statistics/similarity.py", line 98, in plot_similarity_network width=weights, edge_color=weights, edge_cmap=plt.cm.Blues, edge_vmin=min(weights), ValueError: min() arg is an empty sequence [2024-08-19 16:16:19,630] ERROR in app: Exception on /statistics/similarity2/2021 [GET] Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1473, in wsgi_app response = self.full_dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 882, in full_dispatch_request rv = self.handle_user_exception(e) File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 880, in full_dispatch_request rv = self.dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 865, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return] File "/root/ggpx_statistics/app.py", line 107, in similarity2 img_bytes = plot_similarity_network(similarity_result, threshold=0.5) File "/root/ggpx_statistics/similarity.py", line 98, in plot_similarity_network width=weights, edge_color=weights, edge_cmap=plt.cm.Blues, edge_vmin=min(weights), ValueError: min() arg is an empty sequence [2024-08-19 16:33:46,405] ERROR in app: Exception on /statistics/similarity2/2029 [GET] Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1473, in wsgi_app response = self.full_dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 882, in full_dispatch_request rv = self.handle_user_exception(e) File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 880, in full_dispatch_request rv = self.dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 865, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return] File "/root/ggpx_statistics/app.py", line 107, in similarity2 img_bytes = plot_similarity_network(similarity_result, threshold=0.5) File "/root/ggpx_statistics/similarity.py", line 98, in plot_similarity_network width=weights, edge_color=weights, edge_cmap=plt.cm.Blues, edge_vmin=min(weights), ValueError: min() arg is an empty sequence [2024-08-21 14:10:28,139] ERROR in app: Exception on /statistics/similarity2/2029 [GET] Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1473, in wsgi_app response = self.full_dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 882, in full_dispatch_request rv = self.handle_user_exception(e) File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 880, in full_dispatch_request rv = self.dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 865, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return] File "/root/ggpx_statistics/app.py", line 107, in similarity2 img_bytes = plot_similarity_network(similarity_result, threshold=0.5) File "/root/ggpx_statistics/similarity.py", line 98, in plot_similarity_network width=weights, edge_color=weights, edge_cmap=plt.cm.Blues, edge_vmin=min(weights), ValueError: min() arg is an empty sequence [2024-08-21 14:42:47,787] ERROR in app: Exception on /statistics/similarity2/2029 [GET] Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1473, in wsgi_app response = self.full_dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 882, in full_dispatch_request rv = self.handle_user_exception(e) File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 880, in full_dispatch_request rv = self.dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 865, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return] File "/root/ggpx_statistics/app.py", line 107, in similarity2 img_bytes = plot_similarity_network(similarity_result, threshold=0.5) File "/root/ggpx_statistics/similarity.py", line 98, in plot_similarity_network width=weights, edge_color=weights, edge_cmap=plt.cm.Blues, edge_vmin=min(weights), ValueError: min() arg is an empty sequence [2024-08-21 15:06:46,776] ERROR in app: Exception on /statistics/similarity2/2029 [GET] Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1473, in wsgi_app response = self.full_dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 882, in full_dispatch_request rv = self.handle_user_exception(e) File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 880, in full_dispatch_request rv = self.dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 865, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return] File "/root/ggpx_statistics/app.py", line 107, in similarity2 img_bytes = plot_similarity_network(similarity_result, threshold=0.5) File "/root/ggpx_statistics/similarity.py", line 98, in plot_similarity_network width=weights, edge_color=weights, edge_cmap=plt.cm.Blues, edge_vmin=min(weights), ValueError: min() arg is an empty sequence [2024-08-21 15:06:46,930] ERROR in app: Exception on /statistics/similarity2/2029 [GET] Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1473, in wsgi_app response = self.full_dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 882, in full_dispatch_request rv = self.handle_user_exception(e) File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 880, in full_dispatch_request rv = self.dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 865, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return] File "/root/ggpx_statistics/app.py", line 107, in similarity2 img_bytes = plot_similarity_network(similarity_result, threshold=0.5) File "/root/ggpx_statistics/similarity.py", line 98, in plot_similarity_network width=weights, edge_color=weights, edge_cmap=plt.cm.Blues, edge_vmin=min(weights), ValueError: min() arg is an empty sequence [2024-08-21 15:06:59,736] ERROR in app: Exception on /statistics/similarity2/2029 [GET] Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1473, in wsgi_app response = self.full_dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 882, in full_dispatch_request rv = self.handle_user_exception(e) File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 880, in full_dispatch_request rv = self.dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 865, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return] File "/root/ggpx_statistics/app.py", line 107, in similarity2 img_bytes = plot_similarity_network(similarity_result, threshold=0.5) File "/root/ggpx_statistics/similarity.py", line 98, in plot_similarity_network width=weights, edge_color=weights, edge_cmap=plt.cm.Blues, edge_vmin=min(weights), ValueError: min() arg is an empty sequence [2024-08-21 15:06:59,848] ERROR in app: Exception on /statistics/similarity2/2029 [GET] Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1473, in wsgi_app response = self.full_dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 882, in full_dispatch_request rv = self.handle_user_exception(e) File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 880, in full_dispatch_request rv = self.dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 865, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return] File "/root/ggpx_statistics/app.py", line 107, in similarity2 img_bytes = plot_similarity_network(similarity_result, threshold=0.5) File "/root/ggpx_statistics/similarity.py", line 98, in plot_similarity_network width=weights, edge_color=weights, edge_cmap=plt.cm.Blues, edge_vmin=min(weights), ValueError: min() arg is an empty sequence [2024-08-21 15:07:07,607] ERROR in app: Exception on /statistics/similarity2/2029 [GET] Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1473, in wsgi_app response = self.full_dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 882, in full_dispatch_request rv = self.handle_user_exception(e) File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 880, in full_dispatch_request rv = self.dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 865, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return] File "/root/ggpx_statistics/app.py", line 107, in similarity2 img_bytes = plot_similarity_network(similarity_result, threshold=0.5) File "/root/ggpx_statistics/similarity.py", line 98, in plot_similarity_network width=weights, edge_color=weights, edge_cmap=plt.cm.Blues, edge_vmin=min(weights), ValueError: min() arg is an empty sequence [2024-08-21 15:07:07,733] ERROR in app: Exception on /statistics/similarity2/2029 [GET] Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1473, in wsgi_app response = self.full_dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 882, in full_dispatch_request rv = self.handle_user_exception(e) File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 880, in full_dispatch_request rv = self.dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 865, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return] File "/root/ggpx_statistics/app.py", line 107, in similarity2 img_bytes = plot_similarity_network(similarity_result, threshold=0.5) File "/root/ggpx_statistics/similarity.py", line 98, in plot_similarity_network width=weights, edge_color=weights, edge_cmap=plt.cm.Blues, edge_vmin=min(weights), ValueError: min() arg is an empty sequence [2024-08-21 15:25:32,086] ERROR in app: Exception on /statistics/similarity2/2029 [GET] Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1473, in wsgi_app response = self.full_dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 882, in full_dispatch_request rv = self.handle_user_exception(e) File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 880, in full_dispatch_request rv = self.dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 865, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return] File "/root/ggpx_statistics/app.py", line 107, in similarity2 img_bytes = plot_similarity_network(similarity_result, threshold=0.5) File "/root/ggpx_statistics/similarity.py", line 98, in plot_similarity_network width=weights, edge_color=weights, edge_cmap=plt.cm.Blues, edge_vmin=min(weights), ValueError: min() arg is an empty sequence [2024-08-21 15:25:32,230] ERROR in app: Exception on /statistics/similarity2/2029 [GET] Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1473, in wsgi_app response = self.full_dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 882, in full_dispatch_request rv = self.handle_user_exception(e) File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 880, in full_dispatch_request rv = self.dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 865, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return] File "/root/ggpx_statistics/app.py", line 107, in similarity2 img_bytes = plot_similarity_network(similarity_result, threshold=0.5) File "/root/ggpx_statistics/similarity.py", line 98, in plot_similarity_network width=weights, edge_color=weights, edge_cmap=plt.cm.Blues, edge_vmin=min(weights), ValueError: min() arg is an empty sequence [2024-09-06 20:50:31 +0800] [409769] [INFO] Worker exiting (pid: 409769) [2024-09-06 20:50:31 +0800] [409766] [INFO] Handling signal: hup [2024-09-06 20:50:31 +0800] [409766] [INFO] Hang up: Master [2024-09-06 20:50:31 +0800] [1246003] [INFO] Booting worker with pid: 1246003 [2024-09-06 20:50:31 +0800] [409766] [INFO] Handling signal: term [2024-09-06 20:50:31 +0800] [1246004] [INFO] Booting worker with pid: 1246004 [2024-09-06 20:50:31 +0800] [1246005] [INFO] Booting worker with pid: 1246005 [2024-09-06 20:50:31 +0800] [1246006] [INFO] Booting worker with pid: 1246006 [2024-09-06 20:50:37 +0800] [1246003] [INFO] Worker exiting (pid: 1246003) [2024-09-06 20:51:01 +0800] [409766] [INFO] Shutting down: Master [2024-09-12 10:48:01 +0800] [234621] [INFO] Starting gunicorn 23.0.0 [2024-09-12 10:48:01 +0800] [234621] [INFO] Listening at: http://0.0.0.0:5000 (234621) [2024-09-12 10:48:01 +0800] [234621] [INFO] Using worker: sync [2024-09-12 10:48:01 +0800] [234622] [INFO] Booting worker with pid: 234622 [2024-09-12 10:48:01 +0800] [234623] [INFO] Booting worker with pid: 234623 [2024-09-12 10:48:01 +0800] [234624] [INFO] Booting worker with pid: 234624 [2024-09-12 10:48:01 +0800] [234625] [INFO] Booting worker with pid: 234625 [2024-09-12 10:48:09,632] ERROR in app: Exception on /statistics/pca/2036 [GET] Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1473, in wsgi_app response = self.full_dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 882, in full_dispatch_request rv = self.handle_user_exception(e) File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 880, in full_dispatch_request rv = self.dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 865, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return] File "/root/ggpx_statistics/app.py", line 71, in pca img_bytes = plot_pca_scatter(data, labels=data.index) File "/root/ggpx_statistics/pca.py", line 37, in plot_pca_scatter pca_result = pca.fit_transform(df) File "/usr/local/lib/python3.10/dist-packages/sklearn/utils/_set_output.py", line 157, in wrapped data_to_wrap = f(self, X, *args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/sklearn/base.py", line 1152, in wrapper return fit_method(estimator, *args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/sklearn/decomposition/_pca.py", line 460, in fit_transform U, S, Vt = self._fit(X) File "/usr/local/lib/python3.10/dist-packages/sklearn/decomposition/_pca.py", line 483, in _fit X = self._validate_data( File "/usr/local/lib/python3.10/dist-packages/sklearn/base.py", line 605, in _validate_data out = check_array(X, input_name="X", **check_params) File "/usr/local/lib/python3.10/dist-packages/sklearn/utils/validation.py", line 795, in check_array dtype_orig = np.result_type(*dtypes_orig) File "<__array_function__ internals>", line 200, in result_type ValueError: at least one array or dtype is required [2024-09-12 10:48:19,264] ERROR in app: Exception on /statistics/pca/2036 [GET] Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1473, in wsgi_app response = self.full_dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 882, in full_dispatch_request rv = self.handle_user_exception(e) File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 880, in full_dispatch_request rv = self.dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 865, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return] File "/root/ggpx_statistics/app.py", line 71, in pca img_bytes = plot_pca_scatter(data, labels=data.index) File "/root/ggpx_statistics/pca.py", line 37, in plot_pca_scatter pca_result = pca.fit_transform(df) File "/usr/local/lib/python3.10/dist-packages/sklearn/utils/_set_output.py", line 157, in wrapped data_to_wrap = f(self, X, *args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/sklearn/base.py", line 1152, in wrapper return fit_method(estimator, *args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/sklearn/decomposition/_pca.py", line 460, in fit_transform U, S, Vt = self._fit(X) File "/usr/local/lib/python3.10/dist-packages/sklearn/decomposition/_pca.py", line 483, in _fit X = self._validate_data( File "/usr/local/lib/python3.10/dist-packages/sklearn/base.py", line 605, in _validate_data out = check_array(X, input_name="X", **check_params) File "/usr/local/lib/python3.10/dist-packages/sklearn/utils/validation.py", line 795, in check_array dtype_orig = np.result_type(*dtypes_orig) File "<__array_function__ internals>", line 200, in result_type ValueError: at least one array or dtype is required [2024-09-12 10:48:36,137] ERROR in app: Exception on /statistics/pca/2036 [GET] Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1473, in wsgi_app response = self.full_dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 882, in full_dispatch_request rv = self.handle_user_exception(e) File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 880, in full_dispatch_request rv = self.dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 865, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return] File "/root/ggpx_statistics/app.py", line 71, in pca img_bytes = plot_pca_scatter(data, labels=data.index) File "/root/ggpx_statistics/pca.py", line 37, in plot_pca_scatter pca_result = pca.fit_transform(df) File "/usr/local/lib/python3.10/dist-packages/sklearn/utils/_set_output.py", line 157, in wrapped data_to_wrap = f(self, X, *args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/sklearn/base.py", line 1152, in wrapper return fit_method(estimator, *args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/sklearn/decomposition/_pca.py", line 460, in fit_transform U, S, Vt = self._fit(X) File "/usr/local/lib/python3.10/dist-packages/sklearn/decomposition/_pca.py", line 483, in _fit X = self._validate_data( File "/usr/local/lib/python3.10/dist-packages/sklearn/base.py", line 605, in _validate_data out = check_array(X, input_name="X", **check_params) File "/usr/local/lib/python3.10/dist-packages/sklearn/utils/validation.py", line 795, in check_array dtype_orig = np.result_type(*dtypes_orig) File "<__array_function__ internals>", line 200, in result_type ValueError: at least one array or dtype is required [2024-09-12 10:49:32,539] ERROR in app: Exception on /statistics/similarity2/2034 [GET] Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1473, in wsgi_app response = self.full_dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 882, in full_dispatch_request rv = self.handle_user_exception(e) File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 880, in full_dispatch_request rv = self.dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 865, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return] File "/root/ggpx_statistics/app.py", line 107, in similarity2 img_bytes = plot_similarity_network(similarity_result, threshold=0.5) File "/root/ggpx_statistics/similarity.py", line 98, in plot_similarity_network width=weights, edge_color=weights, edge_cmap=plt.cm.Blues, edge_vmin=min(weights), ValueError: min() arg is an empty sequence [2024-09-12 10:50:09,729] ERROR in app: Exception on /statistics/pca/2036 [GET] Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1473, in wsgi_app response = self.full_dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 882, in full_dispatch_request rv = self.handle_user_exception(e) File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 880, in full_dispatch_request rv = self.dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 865, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return] File "/root/ggpx_statistics/app.py", line 71, in pca img_bytes = plot_pca_scatter(data, labels=data.index) File "/root/ggpx_statistics/pca.py", line 37, in plot_pca_scatter pca_result = pca.fit_transform(df) File "/usr/local/lib/python3.10/dist-packages/sklearn/utils/_set_output.py", line 157, in wrapped data_to_wrap = f(self, X, *args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/sklearn/base.py", line 1152, in wrapper return fit_method(estimator, *args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/sklearn/decomposition/_pca.py", line 460, in fit_transform U, S, Vt = self._fit(X) File "/usr/local/lib/python3.10/dist-packages/sklearn/decomposition/_pca.py", line 483, in _fit X = self._validate_data( File "/usr/local/lib/python3.10/dist-packages/sklearn/base.py", line 605, in _validate_data out = check_array(X, input_name="X", **check_params) File "/usr/local/lib/python3.10/dist-packages/sklearn/utils/validation.py", line 795, in check_array dtype_orig = np.result_type(*dtypes_orig) File "<__array_function__ internals>", line 200, in result_type ValueError: at least one array or dtype is required [2024-09-12 10:52:41,191] ERROR in app: Exception on /statistics/similarity2/2034 [GET] Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1473, in wsgi_app response = self.full_dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 882, in full_dispatch_request rv = self.handle_user_exception(e) File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 880, in full_dispatch_request rv = self.dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 865, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return] File "/root/ggpx_statistics/app.py", line 107, in similarity2 img_bytes = plot_similarity_network(similarity_result, threshold=0.5) File "/root/ggpx_statistics/similarity.py", line 98, in plot_similarity_network width=weights, edge_color=weights, edge_cmap=plt.cm.Blues, edge_vmin=min(weights), ValueError: min() arg is an empty sequence [2024-09-12 10:53:36 +0800] [234621] [CRITICAL] WORKER TIMEOUT (pid:234625) [2024-09-12 10:53:37 +0800] [234621] [ERROR] Worker (pid:234625) was sent SIGKILL! Perhaps out of memory? [2024-09-12 10:53:37 +0800] [234819] [INFO] Booting worker with pid: 234819 [2024-09-12 10:54:11 +0800] [234621] [CRITICAL] WORKER TIMEOUT (pid:234623) [2024-09-12 10:54:12 +0800] [234621] [ERROR] Worker (pid:234623) was sent SIGKILL! Perhaps out of memory? [2024-09-12 10:54:12 +0800] [234825] [INFO] Booting worker with pid: 234825 [2024-09-13 11:54:29,243] ERROR in app: Exception on /statistics/pca/2036 [GET] Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1473, in wsgi_app response = self.full_dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 882, in full_dispatch_request rv = self.handle_user_exception(e) File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 880, in full_dispatch_request rv = self.dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 865, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return] File "/root/ggpx_statistics/app.py", line 71, in pca img_bytes = plot_pca_scatter(data, labels=data.index) File "/root/ggpx_statistics/pca.py", line 37, in plot_pca_scatter pca_result = pca.fit_transform(df) File "/usr/local/lib/python3.10/dist-packages/sklearn/utils/_set_output.py", line 157, in wrapped data_to_wrap = f(self, X, *args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/sklearn/base.py", line 1152, in wrapper return fit_method(estimator, *args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/sklearn/decomposition/_pca.py", line 460, in fit_transform U, S, Vt = self._fit(X) File "/usr/local/lib/python3.10/dist-packages/sklearn/decomposition/_pca.py", line 483, in _fit X = self._validate_data( File "/usr/local/lib/python3.10/dist-packages/sklearn/base.py", line 605, in _validate_data out = check_array(X, input_name="X", **check_params) File "/usr/local/lib/python3.10/dist-packages/sklearn/utils/validation.py", line 795, in check_array dtype_orig = np.result_type(*dtypes_orig) File "<__array_function__ internals>", line 200, in result_type ValueError: at least one array or dtype is required