ZM command line error

Forum for questions and support relating to the 1.29.x releases only.
Locked
alabamatoy
Posts: 360
Joined: Sun Jun 05, 2016 2:53 pm

ZM command line error

Post by alabamatoy »

If I run any command line action via zmfilter.pl, I get back:

Code: Select all

Name "Net::SFTP::Foreign::debug" used only once: possible typo at /usr/bin/zmfilter.pl line 939.
I commented this line out and got back a crescendo of errors, so I uncommented it.

???
User avatar
knight-of-ni
Posts: 2406
Joined: Thu Oct 18, 2007 1:55 pm
Location: Shiloh, IL

Re: ZM command line error

Post by knight-of-ni »

Visit my blog for ZoneMinder related projects using the Raspberry Pi, Orange Pi, Odroid, and the ESP8266
All of these can be found at https://zoneminder.blogspot.com/
alabamatoy
Posts: 360
Joined: Sun Jun 05, 2016 2:53 pm

Re: ZM command line error

Post by alabamatoy »

OK, so be gentle with the newb. I understand from the link that there is a fix, but I have no idea how to implement that fix. Am I supposed to discern from the posting that there are lines I must change in the dot pl file, or do I just do an update/restart, or what?

Aside: my zmfilter.pl has changes to support the use of SSMTP and gmail. So I will have to make those to a new version of the .pl if I replace the file. I would think others might want to use SSMTP and gmail messaging, so perhaps a configuration flag (Use SSMP yes/no) and related code changes should be considered, so newbs like me are not having to muck about the Perl script that they so poorly understand? :-) I can identify those changed lines if that would be useful to someone else.
User avatar
knight-of-ni
Posts: 2406
Joined: Thu Oct 18, 2007 1:55 pm
Location: Shiloh, IL

Re: ZM command line error

Post by knight-of-ni »

Just ignore the message.
The error message was a non-fatal warning so you basically don't have to worry about it. The message will be gone in the next release of ZoneMinder, which is just around the corner. There is no reason to edit your Perl scripts.

We already made the code changes for ssmtp too. It'll also be in the next release. Not sure why you assumed that wasn't included.
You can see the full release notes here:
https://github.com/ZoneMinder/ZoneMinder/releases

In any case, if you are uncomfortable editing the Perl scripts on your system, then you are better off waiting until the next release is official.
Visit my blog for ZoneMinder related projects using the Raspberry Pi, Orange Pi, Odroid, and the ESP8266
All of these can be found at https://zoneminder.blogspot.com/
Locked