@stephan
2021-12-01 12:16:02,403 COMMAND.CORE run INFO | === STARTED TASKS WORKER ===
* Serving Flask app "command_core" (lazy loading)
* Environment: production
WARNING: This is a development server. Do not use it in a production deployment.
Use a production WSGI server instead.
* Debug mode: off
2021-12-01 12:16:04,249 COMMAND.SCHEDULER get_gpu_info INFO | UPDATING WORKER GPU INFO
2021-12-01 12:16:04,250 COMMAND.JOBS update_all_job_sizes INFO | UPDATING ALL JOB SIZES IN 10s
2021-12-01 12:16:04,250 COMMAND.DATA export_all_projects INFO | EXPORTING ALL PROJECTS IN 60s...
[2021-12-01 12:16:04,251] ERROR in app: Exception on /startup [GET]
Traceback (most recent call last):
File "/home/wilson/cryosparc/cryosparc_master/deps/anaconda/envs/cryosparc_master_env/lib/python3.7/site-packages/flask/app.py", line 2447, in wsgi_app
response = self.full_dispatch_request()
File "/home/wilson/cryosparc/cryosparc_master/deps/anaconda/envs/cryosparc_master_env/lib/python3.7/site-packages/flask/app.py", line 1952, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/home/wilson/cryosparc/cryosparc_master/deps/anaconda/envs/cryosparc_master_env/lib/python3.7/site-packages/flask/app.py", line 1821, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "/home/wilson/cryosparc/cryosparc_master/deps/anaconda/envs/cryosparc_master_env/lib/python3.7/site-packages/flask/_compat.py", line 39, in reraise
raise value
File "/home/wilson/cryosparc/cryosparc_master/deps/anaconda/envs/cryosparc_master_env/lib/python3.7/site-packages/flask/app.py", line 1950, in full_dispatch_request
rv = self.dispatch_request()
File "/home/wilson/cryosparc/cryosparc_master/deps/anaconda/envs/cryosparc_master_env/lib/python3.7/site-packages/flask/app.py", line 1936, in dispatch_request
return self.view_functions[rule.endpoint](**req.view_args)
File "/home/wilson/cryosparc/cryosparc_master/cryosparc_command/command_core/__init__.py", line 445, in startup
com.prune_old_notifications(mongo.db)
File "/home/wilson/cryosparc/cryosparc_master/cryosparc_compute/jobs/common.py", line 773, in prune_old_notifications
created_at = list(db['notifications'].find({}).sort('created_at', -1).skip(num_keep).limit(1))[0]['created_at']
IndexError: list index out of range
2021-12-01 12:16:04,286 COMMAND.SCHEDULER get_gpu_info INFO | UPDATING WORKER GPU INFO
2021-12-01 12:16:04,286 COMMAND.JOBS update_all_job_sizes INFO | UPDATING ALL JOB SIZES IN 10s
2021-12-01 12:16:04,286 COMMAND.DATA export_all_projects INFO | EXPORTING ALL PROJECTS IN 60s...
[2021-12-01 12:16:04,287] ERROR in app: Exception on /startup [GET]
Traceback (most recent call last):
File "/home/wilson/cryosparc/cryosparc_master/deps/anaconda/envs/cryosparc_master_env/lib/python3.7/site-packages/flask/app.py", line 2447, in wsgi_app
response = self.full_dispatch_request()
File "/home/wilson/cryosparc/cryosparc_master/deps/anaconda/envs/cryosparc_master_env/lib/python3.7/site-packages/flask/app.py", line 1952, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/home/wilson/cryosparc/cryosparc_master/deps/anaconda/envs/cryosparc_master_env/lib/python3.7/site-packages/flask/app.py", line 1821, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "/home/wilson/cryosparc/cryosparc_master/deps/anaconda/envs/cryosparc_master_env/lib/python3.7/site-packages/flask/_compat.py", line 39, in reraise
raise value
File "/home/wilson/cryosparc/cryosparc_master/deps/anaconda/envs/cryosparc_master_env/lib/python3.7/site-packages/flask/app.py", line 1950, in full_dispatch_request
rv = self.dispatch_request()
File "/home/wilson/cryosparc/cryosparc_master/deps/anaconda/envs/cryosparc_master_env/lib/python3.7/site-packages/flask/app.py", line 1936, in dispatch_request
return self.view_functions[rule.endpoint](**req.view_args)
File "/home/wilson/cryosparc/cryosparc_master/cryosparc_command/command_core/__init__.py", line 445, in startup
com.prune_old_notifications(mongo.db)
File "/home/wilson/cryosparc/cryosparc_master/cryosparc_compute/jobs/common.py", line 773, in prune_old_notifications
created_at = list(db['notifications'].find({}).sort('created_at', -1).skip(num_keep).limit(1))[0]['created_at']
IndexError: list index out of range
2021-12-01 12:16:04,311 COMMAND.SCHEDULER get_gpu_info INFO | UPDATING WORKER GPU INFO
2021-12-01 12:16:04,311 COMMAND.JOBS update_all_job_sizes INFO | UPDATING ALL JOB SIZES IN 10s
2021-12-01 12:16:04,311 COMMAND.DATA export_all_projects INFO | EXPORTING ALL PROJECTS IN 60s...
[2021-12-01 12:16:04,313] ERROR in app: Exception on /startup [GET]
Traceback (most recent call last):
File "/home/wilson/cryosparc/cryosparc_master/deps/anaconda/envs/cryosparc_master_env/lib/python3.7/site-packages/flask/app.py", line 2447, in wsgi_app
response = self.full_dispatch_request()
File "/home/wilson/cryosparc/cryosparc_master/deps/anaconda/envs/cryosparc_master_env/lib/python3.7/site-packages/flask/app.py", line 1952, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/home/wilson/cryosparc/cryosparc_master/deps/anaconda/envs/cryosparc_master_env/lib/python3.7/site-packages/flask/app.py", line 1821, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "/home/wilson/cryosparc/cryosparc_master/deps/anaconda/envs/cryosparc_master_env/lib/python3.7/site-packages/flask/_compat.py", line 39, in reraise
raise value
File "/home/wilson/cryosparc/cryosparc_master/deps/anaconda/envs/cryosparc_master_env/lib/python3.7/site-packages/flask/app.py", line 1950, in full_dispatch_request
rv = self.dispatch_request()
File "/home/wilson/cryosparc/cryosparc_master/deps/anaconda/envs/cryosparc_master_env/lib/python3.7/site-packages/flask/app.py", line 1936, in dispatch_request
return self.view_functions[rule.endpoint](**req.view_args)
File "/home/wilson/cryosparc/cryosparc_master/cryosparc_command/command_core/__init__.py", line 445, in startup
com.prune_old_notifications(mongo.db)
File "/home/wilson/cryosparc/cryosparc_master/cryosparc_compute/jobs/common.py", line 773, in prune_old_notifications
created_at = list(db['notifications'].find({}).sort('created_at', -1).skip(num_keep).limit(1))[0]['created_at']
IndexError: list index out of range