Skip to content

Instantly share code, notes, and snippets.

@jheasly
Created March 6, 2019 04:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jheasly/b003c8a476e55285fde9ac4cbef80f93 to your computer and use it in GitHub Desktop.
Save jheasly/b003c8a476e55285fde9ac4cbef80f93 to your computer and use it in GitHub Desktop.
Tarbell traceback
Traceback (most recent call last):
File "/Users/jpheasly/.virtualenvs/tarbell/lib/python2.7/site-packages/flask/app.py", line 1836, in __call__
return self.wsgi_app(environ, start_response)
File "/Users/jpheasly/.virtualenvs/tarbell/lib/python2.7/site-packages/flask/app.py", line 1820, in wsgi_app
response = self.make_response(self.handle_exception(e))
File "/Users/jpheasly/.virtualenvs/tarbell/lib/python2.7/site-packages/flask/app.py", line 1403, in handle_exception
reraise(exc_type, exc_value, tb)
File "/Users/jpheasly/.virtualenvs/tarbell/lib/python2.7/site-packages/flask/app.py", line 1817, in wsgi_app
response = self.full_dispatch_request()
File "/Users/jpheasly/.virtualenvs/tarbell/lib/python2.7/site-packages/flask/app.py", line 1477, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/Users/jpheasly/.virtualenvs/tarbell/lib/python2.7/site-packages/flask/app.py", line 1381, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "/Users/jpheasly/.virtualenvs/tarbell/lib/python2.7/site-packages/flask/app.py", line 1475, in full_dispatch_request
rv = self.dispatch_request()
File "/Users/jpheasly/.virtualenvs/tarbell/lib/python2.7/site-packages/flask/app.py", line 1461, in dispatch_request
return self.view_functions[rule.endpoint](**req.view_args)
File "/Users/jpheasly/Development/tarbell/blue_chip_tarbell/tarbell_config.py", line 75, in formatted_property_sales
context = g.current_site.get_context()
File "/Users/jpheasly/.virtualenvs/tarbell/lib/python2.7/site-packages/tarbell/app.py", line 459, in get_context
context.update(self.get_context_from_gdoc())
File "/Users/jpheasly/.virtualenvs/tarbell/lib/python2.7/site-packages/tarbell/app.py", line 520, in get_context_from_gdoc
self.data = self._get_context_from_gdoc(self.project.SPREADSHEET_KEY)
File "/Users/jpheasly/.virtualenvs/tarbell/lib/python2.7/site-packages/tarbell/app.py", line 534, in _get_context_from_gdoc
content = self.export_xlsx(key)
File "/Users/jpheasly/.virtualenvs/tarbell/lib/python2.7/site-packages/tarbell/app.py", line 549, in export_xlsx
spreadsheet_file = self.client.files().get(fileId=key).execute()
File "/Users/jpheasly/.virtualenvs/tarbell/lib/python2.7/site-packages/oauth2client/util.py", line 140, in positional_wrapper
return wrapped(*args, **kwargs)
File "/Users/jpheasly/.virtualenvs/tarbell/lib/python2.7/site-packages/googleapiclient/http.py", line 835, in execute
method=str(self.method), body=self.body, headers=self.headers)
File "/Users/jpheasly/.virtualenvs/tarbell/lib/python2.7/site-packages/googleapiclient/http.py", line 162, in _retry_request
resp, content = http.request(uri, method, *args, **kwargs)
File "/Users/jpheasly/.virtualenvs/tarbell/lib/python2.7/site-packages/oauth2client/client.py", line 607, in new_request
self._refresh(request_orig)
File "/Users/jpheasly/.virtualenvs/tarbell/lib/python2.7/site-packages/oauth2client/client.py", line 842, in _refresh
self._do_refresh_request(http_request)
File "/Users/jpheasly/.virtualenvs/tarbell/lib/python2.7/site-packages/oauth2client/client.py", line 907, in _do_refresh_request
raise HttpAccessTokenRefreshError(error_msg, status=resp.status)
HttpAccessTokenRefreshError: invalid_grant: Token has been expired or revoked.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment