Skip to content

Instantly share code, notes, and snippets.

@akawashiro
Created October 6, 2018 13:06
Show Gist options
  • Save akawashiro/77050e3d47d3e6e62a2cba8dc143ffc8 to your computer and use it in GitHub Desktop.
Save akawashiro/77050e3d47d3e6e62a2cba8dc143ffc8 to your computer and use it in GitHub Desktop.
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/flask/app.py", line 2309, in __call__
return self.wsgi_app(environ, start_response)
File "/usr/local/lib/python3.6/site-packages/flask/app.py", line 2295, in wsgi_app
response = self.handle_exception(e)
File "/usr/local/lib/python3.6/site-packages/flask/app.py", line 1741, in handle_exception
reraise(exc_type, exc_value, tb)
File "/usr/local/lib/python3.6/site-packages/flask/_compat.py", line 35, in reraise
raise value
File "/usr/local/lib/python3.6/site-packages/flask/app.py", line 2292, in wsgi_app
response = self.full_dispatch_request()
File "/usr/local/lib/python3.6/site-packages/flask/app.py", line 1815, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/usr/local/lib/python3.6/site-packages/flask/app.py", line 1718, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "/usr/local/lib/python3.6/site-packages/flask/_compat.py", line 35, in reraise
raise value
File "/usr/local/lib/python3.6/site-packages/flask/app.py", line 1813, in full_dispatch_request
rv = self.dispatch_request()
File "/usr/local/lib/python3.6/site-packages/flask/app.py", line 1799, in dispatch_request
return self.view_functions[rule.endpoint](**req.view_args)
File "/kearch/packages/specialist_admin/flask_main.py", line 17, in send_db_summary
result = specialist_admin.send_db_summary(me_host, sp_host)
File "/kearch/packages/specialist_admin/specialist_admin.py", line 21, in send_db_summary
ret = gw_req.request(path='/send_DB_summary', payload=pld, method='POST')
File "/kearch/packages/kearch_common/kearch_common/requester.py", line 72, in request
headers, timeout)
File "/kearch/packages/kearch_common/kearch_common/requester.py", line 100, in request_json
return resp.json()
File "/usr/local/lib/python3.6/site-packages/requests/models.py", line 896, in json
return complexjson.loads(self.text, **kwargs)
File "/usr/local/lib/python3.6/json/__init__.py", line 354, in loads
return _default_decoder.decode(s)
File "/usr/local/lib/python3.6/json/decoder.py", line 339, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/local/lib/python3.6/json/decoder.py", line 357, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment