JetBrains-Research / pubtrends

Scientific literature explorer. Runs a Pubmed or Semantic Scholar search and allows user to explore high-level structure of result papers
Apache License 2.0
36 stars 2 forks source link

Happened while looking for a 4-5 queries in parallel with one of them. #190

Closed olegs closed 4 years ago

olegs commented 5 years ago
web_1     | ERROR:models.app.app:Exception on /status [GET]
web_1     | Traceback (most recent call last):
web_1     |   File "/home/user/miniconda3/envs/pubtrends/lib/python3.7/site-packages/flask/app.py", line 2446, in wsgi_app
web_1     |     response = self.full_dispatch_request()
web_1     |   File "/home/user/miniconda3/envs/pubtrends/lib/python3.7/site-packages/flask/app.py", line 1951, in full_dispatch_request
web_1     |     rv = self.handle_user_exception(e)
web_1     |   File "/home/user/miniconda3/envs/pubtrends/lib/python3.7/site-packages/flask/app.py", line 1820, in handle_user_exception
web_1     |     reraise(exc_type, exc_value, tb)
web_1     |   File "/home/user/miniconda3/envs/pubtrends/lib/python3.7/site-packages/flask/_compat.py", line 39, in reraise
web_1     |     raise value
web_1     |   File "/home/user/miniconda3/envs/pubtrends/lib/python3.7/site-packages/flask/app.py", line 1949, in full_dispatch_request
web_1     |     rv = self.dispatch_request()
web_1     |   File "/home/user/miniconda3/envs/pubtrends/lib/python3.7/site-packages/flask/app.py", line 1935, in dispatch_request
web_1     |     return self.view_functions[rule.endpoint](**req.view_args)
web_1     |   File "/home/user/models/app/app.py", line 39, in status
web_1     |     'progress': int(100.0 * job.result['current'] / job.result['total'])
web_1     | TypeError: 'TaskRevokedError' object is not subscriptable
worker_1  | [2019-10-25 16:05:58,293: ERROR/MainProcess] Task handler raised error: Terminated(15)
worker_1  | Traceback (most recent call last):
worker_1  |   File "/home/user/miniconda3/envs/pubtrends/lib/python3.7/site-packages/billiard/pool.py", line 1728, in _set_terminated
worker_1  |     raise Terminated(-(signum or 0))
olegs commented 4 years ago

Cannot reproduce anymore.