unexpected keyword argument 'logger' - zm_detect.py"
Posted: Thu Dec 09, 2021 11:39 pm
Hi all.
I'm trying to set up object detection and running this test command from the documentation:
'sudo -u www-data /var/lib/zmeventnotification/bin/zm_detect.py --config /etc/zm/objectconfig.ini --eventid 3 --monitorid 1 --debug'
But get this error: unexpected keyword argument 'logger'
Any fixes for this? Been trolling the internet for hours.
Many thanks
I'm trying to set up object detection and running this test command from the documentation:
'sudo -u www-data /var/lib/zmeventnotification/bin/zm_detect.py --config /etc/zm/objectconfig.ini --eventid 3 --monitorid 1 --debug'
But get this error: unexpected keyword argument 'logger'
Any fixes for this? Been trolling the internet for hours.
Many thanks
Code: Select all
12/09/21 20:33:51 zmesdetect_m1[1117] DBG2 utils.py:125 [Changing detection_mode from all to most_models to adapt to new features]
12/09/21 20:33:51 zmesdetect_m1[1117] DBG2 zm_detect.py:312 [mapping legacy stream data from config]
12/09/21 20:33:51 zmesdetect_m1[1117] INF zm_detect.py:352 [Sleeping for 5 seconds before inferencing]
12/09/21 20:33:56 zmesdetect_m1[1117] FAT zm_detect.py:534 [Unrecoverable error:__init__() got an unexpected keyword argument 'logger' Traceback:Traceback (most recent call last):
File "/var/lib/zmeventnotification/bin/zm_detect.py", line 531, in <module>
main_handler()
File "/var/lib/zmeventnotification/bin/zm_detect.py", line 378, in main_handler
m = DetectSequence(options=ml_options, logger=g.logger)
TypeError: __init__() got an unexpected keyword argument 'logger'
]