[cvsnt] loginfo help

Bo Berglund Bo.Berglund at system3r.se
Tue Aug 26 12:42:29 BST 2003


Check that the perl folder is included in the SYSTEM path variable on the server.
If it is then you can try rebooting the server.

If this fails you can explicitly give the perl interpreter location with full
path in your logifo script like so:

DEFAULT c:\perl\perl.exe \perl\lib\cvs_loginfo_email.pl "%{sVv}" "$USER"

Note that if Perl is installed to a folder that includes embedded spaces like
C:\program files\perl
then this will not work and you cannot fix it by using double quotes either.
In such a case the only remedy is to fix the SYSTEM path variable or reinstall
perl to a "spaceless" path.

/Bo


-----Original Message-----
From: HODGES Mark [mailto:Mark.HODGES at thomson.net]
Sent: den 26 augusti 2003 12:15
To: 'cvsnt at cvsnt.org'
Subject: [cvsnt] loginfo help


Hi All,

I have been running CVSNT on a Win2K server for over a year without too many
major problems. I am currently using the following versions of software;
CVS NT version - 1.11.3 b66
WinCVS version - 1.3.10.1
PERL version 5 build 519

I use the LOGINFO file along with some DevGuy PERL scripts to send out
automated emails after each commit. The only addition to the default loginfo
file is the following line;
DEFAULT perl \perl\lib\cvs_loginfo_email.pl "%{sVv}" "$USER"

A few weeks back our wonderful IT department changed something, the person
left the company and now the automated emails no longer work! Whenever you
commit a file remotely, the following error message is returned;

'perl' is not recognized as an internal or external command, operable
program or batch file.

However if you commit a file from the server itself the emails are sent out.
Also if you open a command shell on the server and type PERL -v it finds the
application ok.

I have checked all the obvious things like paths and permissions but
everything seems to be ok.

Any help or advice is much appreciated.

Best regards,

Mark.
_______________________________________________
cvsnt mailing list
cvsnt at cvsnt.org
http://www.cvsnt.org/cgi-bin/mailman/listinfo/cvsnt


More information about the cvsnt mailing list