Skip to content

Error running script #12

@wazime

Description

@wazime

I had everything running good, but now I get the following error when the script runs.

2014-03-15 21:11:16.621005: [debug] Calling notify [/usr/bin/notifynest.sh] with arg1 [away], arg2 [0], arg3 [0d 00:00:00]
2014-03-15 21:11:17.349267: #### BEGIN EXCEPTION #####
2014-03-15 21:11:17.349336: Command '['/usr/bin/notifynest.sh', 'away', '0', '0d 00:00:00']' returned non-zero exit status 1
2014-03-15 21:11:17.349359: Output from notify follows:
Updating Nest with away status: away
Property occupied for 0d 00:00:00 (0 seconds)
Traceback (most recent call last):
File "/usr/bin/nest.py", line 324, in
main()
File "/usr/bin/nest.py", line 280, in main
n.login()
File "/usr/bin/nest.py", line 96, in login
res = urllib2.urlopen(req).read()
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 127, in urlopen
return _opener.open(url, data, timeout)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 410, in open
response = meth(req, response)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 523, in http_response
'http', request, response, code, msg, hdrs)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 448, in error
return self._call_chain(_args)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 382, in _call_chain
result = func(_args)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 531, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
urllib2.HTTPError: HTTP Error 403: FORBIDDEN

2014-03-15 21:11:17.349409: #### END EXCEPTION #####

Any help with this would be great.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions