Open eporedieis opened 4 years ago
Version of python is probably the issue. What version is your venv?
I'm using Python 3.7.0 (and Home Assistant 0.100.3 on Raspbian Buster)
SO that's most likely the issue then. Exceptions changed between 2.7 and 3.7
On Tue, 17 Dec 2019 at 07:13, eporedieis notifications@github.com wrote:
I'm using Python 3.7.0 (and Home Assistant 0.100.3 on Raspbian Buster)
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/psyciknz/CameraEvents/issues/6?email_source=notifications&email_token=ABI2I46VWZLQCTAQVNV5OOTQY7AL5A5CNFSM4J3MVOS2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEG7S4RI#issuecomment-566177349, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABI2I4YOWMI5NWPSI7QW3IDQY7AL5ANCNFSM4J3MVOSQ .
I've HA working on Raspbian. I've copied your folder in the custom_components, created the config file, then installed the requirements from the virtual environment but...when I try to execute the py file that error happens:
python CameraEvents.py File "CameraEvents.py", line 282 except Exception,ivsExcept: ^ SyntaxError: invalid syntax
I seen that at line 282 there's a debug line but I can't understand the error. What could be wrong? Could you help me? Thank you very much!