ZoneMinder 1.30.4 & zmeventnotification : missing Python scripts

Forum for questions and support relating to the 1.30.x releases only.
Post Reply
Oliv59
Posts: 10
Joined: Sat Feb 09, 2019 4:50 pm

ZoneMinder 1.30.4 & zmeventnotification : missing Python scripts

Post by Oliv59 » Sun Feb 10, 2019 8:21 pm

Hello there,

After fighting for a few hours with zmeventnotification and zmninja (desktop, windows 10), i end up with an irresolvable - at least for me - issue.
I run the 1.30.4 version on a rasp pi 3 under raspbian.
I setup the zmeventnotification, which finally loads fine.
I launch it through cli (via sudo -u www-data /usr/bin/zmeventnotification.pl, to fix the bugs, and then i'll launch the daemon), it works apparently fine, but when i force an alarm, i see those logs :

Code: Select all

Invoking hook:'/usr/bin/detect_wrapper.sh' 68 2 "Garage" "Forced Web"
Traceback (most recent call last):
  File "/usr/bin/detect_yolo.py", line 24, in <module>
    import configparser
ImportError: No module named configparser
Previously, i had :

Code: Select all

Invoking hook:'/usr/bin/detect_wrapper.sh' 66 2 "Garage" "Forced Web"
Traceback (most recent call last):
  File "/usr/bin/detect_yolo.py", line 18, in <module>
    import cv2
ImportError: No module named cv2
I fixed this cv2 issue with "sudo apt-get install python3-dev libmysqlclient-dev"
But, for the ConfigParser issue, i couldn't find any valuable solution :(
Moreover, i'm pretty surprised all those scripts are missing ? Wouldn't I more missing something ?

Thanks for any help on this, i'm almost done with this setup, i'd like to watch this work !

Oliv.

Oliv59
Posts: 10
Joined: Sat Feb 09, 2019 4:50 pm

Re: ZoneMinder 1.30.4 & zmeventnotification : missing Python scripts

Post by Oliv59 » Tue Feb 12, 2019 10:29 pm

In case someone passes here, and want to have the fix, here it is :
https://github.com/pliablepixels/zmeven ... /issues/80

TL;DR : Either disabling the hooks in zmeventnotification.ini (adding a # before the hook path), or running sudo pip -r requirements.txt from the hook folder (didn't work in my case, pip command not found).

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests