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

python le_alert-email-change.py fails with a 404 #25

Open
callumlocke opened this issue Apr 11, 2016 · 1 comment
Open

python le_alert-email-change.py fails with a 404 #25

callumlocke opened this issue Apr 11, 2016 · 1 comment

Comments

@callumlocke
Copy link

My output from python le_alert-email-change.py:

Traceback (most recent call last):
  File "le_alert-email-change.py", line 76, in <module>
    setup()
  File "le_alert-email-change.py", line 14, in setup
    get_hosts()
  File "le_alert-email-change.py", line 22, in get_hosts
    response = urllib2.urlopen(url).read()
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 154, in urlopen
    return opener.open(url, data, timeout)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 437, in open
    response = meth(req, response)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 550, in http_response
    'http', request, response, code, msg, hdrs)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 475, in error
    return self._call_chain(*args)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 409, in _call_chain
    result = func(*args)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 558, in http_error_default
    raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
urllib2.HTTPError: HTTP Error 404: Not Found
@StephenHynes7
Copy link
Owner

Hmm maybe caused by some of the API changes we are doing. JFTR we will be replacing these API's with a nice RESTful API in the coming weeks.

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

2 participants