Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HTTPError: <class 'requests.exceptions.HTTPError'> #477

Open
jlark opened this issue Mar 24, 2018 · 0 comments
Open

HTTPError: <class 'requests.exceptions.HTTPError'> #477

jlark opened this issue Mar 24, 2018 · 0 comments

Comments

@jlark
Copy link
Contributor

jlark commented Mar 24, 2018

View details in Rollbar: https://rollbar.com/GLE/Sesh-dash/items/128/

Traceback (most recent call last):
  File "/home/dev/sesh-dash/local/lib/python2.7/site-packages/celery/app/trace.py", line 240, in trace_task
    R = retval = fun(*args, **kwargs)
  File "/home/dev/sesh-dash/local/lib/python2.7/site-packages/celery/app/trace.py", line 438, in __protected_call__
    return self.run(*args, **kwargs)
  File "/home/dev/sesh-dash/src/seshdash/tasks.py", line 350, in get_weather_data
    forecast_client = ForecastAPI(settings.FORECAST_KEY,site.position.latitude,site.position.longitude)
  File "/home/dev/sesh-dash/src/seshdash/api/forecast.py", line 17, in __init__
    self._forecast = forecastio.load_forecast(self._API_KEY,self._LAT,self._LNG,lazy=lazy)
  File "/home/dev/sesh-dash/local/lib/python2.7/site-packages/forecastio/api.py", line 41, in load_forecast
    return manual(baseURL, callback=callback)
  File "/home/dev/sesh-dash/local/lib/python2.7/site-packages/forecastio/api.py", line 51, in manual
    return get_forecast(requestURL)
  File "/home/dev/sesh-dash/local/lib/python2.7/site-packages/forecastio/api.py", line 60, in get_forecast
    forecastio_reponse.raise_for_status()
  File "/home/dev/sesh-dash/local/lib/python2.7/site-packages/requests/models.py", line 837, in raise_for_status
    raise HTTPError(http_error_msg, response=self)
HTTPError: <class 'requests.exceptions.HTTPError'>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant