Closed arsaboo closed 6 years ago
1) make sure you're using python 3.3
2) after I did a pip, I still had to download the project locally to my machine. abodecl.py wasn't installed (afaik) with pip. pip just lets the code import the abodepy library.
From: Alok Saboo notifications@github.com Sent: Friday, August 11, 2017 12:05 PM To: MisterWil/abodepy Cc: Subscribed Subject: [MisterWil/abodepy] Unable to run abodecl (#2)
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?
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/MisterWil/abodepy/issues/2, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AdeuA5fTbK_SzgdbgCpftngTEzz83LaZks5sXHvLgaJpZM4O02F6.
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')
Ok....it is working now....had a typo in the password....thanks!!
Thanks for your excellent work. I installed abodeby using
pip3 install abodepy
on my Ubunto box, butpython 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 returnsfind: ‘abodecl.py’: No such file or directory
.Any thoughts?