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

login succesfull but get_image has http failure #4

Closed
allisondennis opened this issue Jan 4, 2014 · 3 comments
Closed

login succesfull but get_image has http failure #4

allisondennis opened this issue Jan 4, 2014 · 3 comments

Comments

@allisondennis
Copy link

I was able to create a Dropcam instance and log in to my camera, but I'm having the following failure. I know that login was successful because I am able to access the properties such as camera on/off status. Can you recommend any trouble shooting? I'm running on linux. Thanks.

temp = c.get_image()
Traceback (most recent call last):
File "", line 1, in
File "build/bdist.linux-x86_64/egg/dropcam.py", line 147, in get_image
File "build/bdist.linux-x86_64/egg/dropcam.py", line 120, in _request
File "/usr/lib/python2.7/urllib2.py", line 126, in urlopen
return _opener.open(url, data, timeout)
File "/usr/lib/python2.7/urllib2.py", line 406, in open
response = meth(req, response)
File "/usr/lib/python2.7/urllib2.py", line 519, in http_response
'http', request, response, code, msg, hdrs)
File "/usr/lib/python2.7/urllib2.py", line 444, in error
return self._call_chain(_args)
File "/usr/lib/python2.7/urllib2.py", line 378, in _call_chain
result = func(_args)
File "/usr/lib/python2.7/urllib2.py", line 527, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
urllib2.HTTPError: HTTP Error 403: Forbidden

@rsgalloway
Copy link
Owner

This error is most likely caused by making a request to the wrong URL, so you're probably using an old version. Make sure you're on the latest version: c490a83 or just download it again.

@allisondennis
Copy link
Author

Hi Ryan,
I installed this package just last night using easy_install, so unless that
is pointing to an out of date version, I should be on the most recent one.
Can you think of anything else?
Thanks,
Allison

On Sat, Jan 4, 2014 at 4:25 PM, Ryan Galloway notifications@github.comwrote:

Closed #4 #4.


Reply to this email directly or view it on GitHubhttps://github.com//issues/4
.

Allison Ryan
Senior Algorithms Engineer
NATERA
201 Industrial Road, Suite 410
San Carlos, CA 94070
phone: 650.249.9090 x328
www.natera.com
Confidentiality Notice: This communication may contain confidential and/or
privileged information or information that is protected from disclosure
under HIPAA and/or other laws that is solely for use by the intended
recipient. If you are not the intended recipient, promptly notify the
sender and immediately delete all copies of this email and any attachments
without disclosing or using any information contained therein.

@rsgalloway
Copy link
Owner

Hi Allison,

Thanks for that. I checked, and it looks like the pypi version was out-of-date, sorry about that. I've corrected the problem and rev'ed it up to 0.1.1. You should be able to update your installed version with

pip install dropcam --upgrade

Let me know if you continue to have problems.

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