hi all
i am running zoneminder 1.34 with zmeventnotification
i get this error when trying to detect stuff
anybody got any idea ?
this is running in docker with dlandon repo
root@318241142f59:/etc/zm# /var/lib/zmeventnotification/bin/zm_detect.py --monitorid "1" --eventid 355 --config "/etc/zm/objectconfig.ini"Unrecoverable error:__init__() got an unexpected keyword argument 'reflect' Traceback:Traceback (most recent call last):
File "/var/lib/zmeventnotification/bin/zm_detect.py", line 565, in <module>
main_handler()
File "/var/lib/zmeventnotification/bin/zm_detect.py", line 254, in main_handler
log.init(name='zmesdetect_' + 'm' + args.get('monitorid'), override=g.config['pyzm_overrides'])
File "/usr/local/lib/python3.8/dist-packages/pyzm/ZMLog.py", line 166, in init
meta = MetaData(engine,reflect=True)
TypeError: __init__() got an unexpected keyword argument 'reflect'
zmnotification problem
Re: zmnotification problem
I also had this on my Ubuntu 18.04 server, the workaround is to downgrade sqlalchemy.
https://pypi.org/project/SQLAlchemy/1.3.23/
https://pypi.org/project/SQLAlchemy/1.3.23/
-
- Posts: 5
- Joined: Wed Mar 17, 2021 3:05 pm
Re: zmnotification problem
hi,
thx for your answer i don't get the error anymore.
i now get this in the log : Not sending event end alarm, as we did not send a start alarm for this, or start hook processing failed]
if i do zm_detect.py manual , it does it work.
but it seems zm_event_start.sh is not getting called ?
thx for your answer i don't get the error anymore.
i now get this in the log : Not sending event end alarm, as we did not send a start alarm for this, or start hook processing failed]
if i do zm_detect.py manual , it does it work.
but it seems zm_event_start.sh is not getting called ?
-
- Posts: 5
- Joined: Wed Mar 17, 2021 3:05 pm
Re: zmnotification problem
also doens't do anything ..
when i run the event in ZMES_PICTURE_URL , i get a clear picture
when i run the event in ZMES_PICTURE_URL , i get a clear picture
-
- Posts: 5
- Joined: Wed Mar 17, 2021 3:05 pm
Re: zmnotification problem
was a password problem ...
now i get this
RR [zmesdetect_m72] [Error running model: OpenCV(4.5.0) /root/opencv/modules/dnn/src/darknet/darknet_importer.cpp:207: error: (-212:Parsing error) Failed to parse NetParameter file: /var/lib/zmeventnotification/models/yolov4/yolov4.cfg in function 'readNetFromDarknet'
now i get this
RR [zmesdetect_m72] [Error running model: OpenCV(4.5.0) /root/opencv/modules/dnn/src/darknet/darknet_importer.cpp:207: error: (-212:Parsing error) Failed to parse NetParameter file: /var/lib/zmeventnotification/models/yolov4/yolov4.cfg in function 'readNetFromDarknet'
-
- Posts: 5
- Joined: Wed Mar 17, 2021 3:05 pm
Re: zmnotification problem
detection seems to be working now
but now i get this error ...
requests.exceptions.SSLError: HTTPSConnectionPool(host='192.168.9.2', port=1443): Max retries exceeded with url: /zm/api/events/572.json?username=admin&password=xxxxxxx (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate (_ssl.c:1123)')))
in zmeventnotification verify is off
but now i get this error ...
requests.exceptions.SSLError: HTTPSConnectionPool(host='192.168.9.2', port=1443): Max retries exceeded with url: /zm/api/events/572.json?username=admin&password=xxxxxxx (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate (_ssl.c:1123)')))
in zmeventnotification verify is off
Re: zmnotification problem
The solution to this error can be found here.; simply run "pip3 install sqlalchemy==1.3.23"
https://github.com/dlandon/zoneminder.m ... issues/174
https://github.com/dlandon/zoneminder.m ... issues/174