Page 1 of 1
ZM command line error
Posted: Tue Jul 12, 2016 1:25 am
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.
???
Re: ZM command line error
Posted: Tue Jul 12, 2016 2:56 pm
by knight-of-ni
Re: ZM command line error
Posted: Tue Jul 12, 2016 3:26 pm
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.
Re: ZM command line error
Posted: Tue Jul 12, 2016 3:44 pm
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.