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

Unable to run abodecl #2

Closed
arsaboo opened this issue Aug 11, 2017 · 3 comments
Closed

Unable to run abodecl #2

arsaboo opened this issue Aug 11, 2017 · 3 comments

Comments

@arsaboo
Copy link
Contributor

arsaboo commented Aug 11, 2017

Thanks for your excellent work. I installed abodeby using
pip3 install abodepy on my Ubunto box, but python abodecl.py --username USERNAME --password PASSWORD --mode gives me the error: python: can't open file 'abodecl.py': [Errno 2] No such file or directory.

Manually searching the file find / abodecl.py also returns find: ‘abodecl.py’: No such file or directory.

Any thoughts?

@medic459
Copy link

medic459 commented Aug 11, 2017 via email

@arsaboo
Copy link
Contributor Author

arsaboo commented Aug 11, 2017

python3 -V gives 3.5.2. Here's the output

arsaboo@aloknuc:~/abodepy$ python3 abodecl.py --username USERNAME --password PASSWORD --mode
Traceback (most recent call last):
  File "abodecl.py", line 66, in <module>
    get_devices=True, log_level=log_level)
  File "/home/arsaboo/abodepy/abodepy.py", line 99, in __init__
    self.get_devices()
  File "/home/arsaboo/abodepy/abodepy.py", line 252, in get_devices
    panel_response = self.send_request("get", CONST.PANEL_URL)
  File "/home/arsaboo/abodepy/abodepy.py", line 212, in send_request
    return self.send_request(method, url, headers, data, True)
  File "/home/arsaboo/abodepy/abodepy.py", line 214, in send_request
    raise AbodeException((ERROR.REQUEST))
abodepy.AbodeException: (2, 'Request failed')

@arsaboo
Copy link
Contributor Author

arsaboo commented Aug 11, 2017

Ok....it is working now....had a typo in the password....thanks!!

@arsaboo arsaboo closed this as completed Aug 11, 2017
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