Search found 23 matches

by JonMoore
Fri Nov 06, 2020 10:10 am
Forum: Mobile Apps
Topic: zm_detect.py error when testing zm_event_start.sh
Replies: 19
Views: 7306

Re: zm_detect.py error when testing zm_event_start.sh

Actually... there was one more thing I needed to do. This one took some tracking down as I didn't have to do it last time; in /tmp/ I had to change the ownership of the file "pyzm cpu # or gpu_lock.00.lock" it was owned by root:wheel and I found a permissions error buried deep in the locks. Changing...
by JonMoore
Thu Nov 05, 2020 6:55 pm
Forum: Mobile Apps
Topic: zm_detect.py error when testing zm_event_start.sh
Replies: 19
Views: 7306

Re: zm_detect.py error when testing zm_event_start.sh

Hello! Sorry this has taken so long... I didn't see the reply When you have time, please share any mods you had to make to either pyzm or detection to get it to work - I'll try and incorporate options so the code doesn't have to be touched (I hope you used the updated packages I posted in another th...
by JonMoore
Tue Mar 24, 2020 1:35 pm
Forum: Mobile Apps
Topic: zm_detect.py error when testing zm_event_start.sh
Replies: 19
Views: 7306

Re: zm_detect.py error when testing zm_event_start.sh

I think that's what the problem was but I'm not sure, took a fair bit of fiddling with the make files to finally get it built. But it is built! And object detection is working well now. I can't get the boarder boxes as I'm on zm 1.32 but I believe the package is going to 1.34 in the next quarterly p...
by JonMoore
Fri Mar 20, 2020 9:26 pm
Forum: Mobile Apps
Topic: zm_detect.py error when testing zm_event_start.sh
Replies: 19
Views: 7306

Re: zm_detect.py error when testing zm_event_start.sh

Ah... I may be wrong, but based on the zmes documentation I think contrib is required. I'm making progress with the compile though... I've had to change a few things, switching malloc.h to stdlib.h, getting rid of a process to discover number of online processors and changing memalign. I'm up to abo...
by JonMoore
Fri Mar 20, 2020 2:28 pm
Forum: Mobile Apps
Topic: zm_detect.py error when testing zm_event_start.sh
Replies: 19
Views: 7306

Re: zm_detect.py error when testing zm_event_start.sh

hmm... if object detection relies on opencv-4.x I think I'm boned. Doesn't seem to be anything on google where someone has said they've got it working. I've got through a number of different make errors so far but am hitting a wall at some references to 'memalign' I'll keep trying but I think I migh...
by JonMoore
Fri Mar 20, 2020 10:50 am
Forum: Mobile Apps
Topic: zm_detect.py error when testing zm_event_start.sh
Replies: 19
Views: 7306

Re: zm_detect.py error when testing zm_event_start.sh

I'm on an i3-6100, so far performance has been totally fine with zoneminder. I'm struggling to get opencv-4.x.x to build from source though so no idea what that'll be like for performance yet. I'll let you know when/if I make it. Also, I'd LOVE to hear about your install of opencv-4 if you can do it...
by JonMoore
Thu Mar 19, 2020 4:07 pm
Forum: Mobile Apps
Topic: zm_detect.py error when testing zm_event_start.sh
Replies: 19
Views: 7306

Re: zm_detect.py error when testing zm_event_start.sh

Actually, I'm not sure who maintains it... it's the default package in a freenas jail when running pkg install zoneminder. Although I'm starting to wish I'd built it from source now with the problems it's caused me. It seems like I might just have got all of my paths sorted now and it looks like tho...
by JonMoore
Thu Mar 19, 2020 11:18 am
Forum: Mobile Apps
Topic: zm_detect.py error when testing zm_event_start.sh
Replies: 19
Views: 7306

Re: zm_detect.py error when testing zm_event_start.sh

Actually, I'm still getting

eid:919 hook start returned with text: json:[] exit:127

In the zoneminder logs... which looks like it's a problem
by JonMoore
Thu Mar 19, 2020 11:11 am
Forum: Mobile Apps
Topic: zm_detect.py error when testing zm_event_start.sh
Replies: 19
Views: 7306

Re: zm_detect.py error when testing zm_event_start.sh

In ZMLogs.py I had to change; config_table = meta.tables['Config'] log_table = meta.tables['Logs'] To config_table = meta.tables['config'] log_table = meta.tables['logs'] no errors now and nothing returned in the console... which I guess is correct behaviour? No boxes around people in zmninja deskto...
by JonMoore
Thu Mar 19, 2020 10:54 am
Forum: Mobile Apps
Topic: zm_detect.py error when testing zm_event_start.sh
Replies: 19
Views: 7306

Re: zm_detect.py error when testing zm_event_start.sh

thanks! I've got logpath overridden to /var/log/zm in the args and conf_path changed to /usr/local/etc already but it still seemed to be having an issue with ZM_PATH_LOGS as if it's not defined or something. Then I noticed the line for f in glob.glob(config['conf_path']+'/conf.d/*.conf'): realised i...
by JonMoore
Wed Mar 18, 2020 4:03 pm
Forum: Mobile Apps
Topic: zm_detect.py error when testing zm_event_start.sh
Replies: 19
Views: 7306

Re: zm_detect.py error when testing zm_event_start.sh

when the zm_event_start.sh is triggered by the event server this is what I'm getting in the logs.. 2020-03-18 15:58:50 zmeventnotification 77501 INF |----> FORK:Front Garden (1), eid:467 hook end returned with text: json:[] exit:127 zmeventnotification.pl 2020-03-18 15:58:49 zmeventnotification 7750...
by JonMoore
Wed Mar 18, 2020 12:31 pm
Forum: Mobile Apps
Topic: zm_detect.py error when testing zm_event_start.sh
Replies: 19
Views: 7306

zm_detect.py error when testing zm_event_start.sh

Anyone seen an error like this one before and got around it? I'm working in a freenas jail with zoneminder 1.32.3 with apache. Had some trouble getting the API running but I've fixed that now error.jpg I did have to edit ZMLog.py to get this far as it was complaining that my zm.conf couldn't be foun...
by JonMoore
Wed Mar 18, 2020 9:40 am
Forum: ZoneMinder 1.32.x
Topic: Zoneminder API on Freenas Jail problem
Replies: 2
Views: 2605

Re: Zoneminder API on Freenas Jail problem

Something else that makes me think it might be apache is trying http://server/api/host/getVersion.json gives me a 404 not found
by JonMoore
Tue Mar 17, 2020 8:04 pm
Forum: ZoneMinder 1.32.x
Topic: Zoneminder API on Freenas Jail problem
Replies: 2
Views: 2605

Zoneminder API on Freenas Jail problem

Hello! I'm hoping someone can help, I've been struggling to get my freenas install of zoneminder up and running for a few days now. Most stuff is there; cams, recording, etc. but I can't get the api working (which I figured out was broken when I couldn't get zmeventnotification working!) I'm running...
by JonMoore
Mon Apr 15, 2013 10:52 am
Forum: ZoneMinder 1.25.x
Topic: [Solved]Can't mkdir no space left on device. disks not full!
Replies: 3
Views: 1198

Re: Can't mkdir no space left on device... disks not full!

haha cheers bb99... you literally must have posted that just as I was posting my last comment.

Thanks for the help thought :D