Hi Kristis,
Thanks for your quick reply. The call to perl in my pre-commit.bat file *is* correctly defined as "C:/Perl/bin/perl" -I. And I *do* have a C:\Temp folder that is writeble. It was required to install the glue. My first inclination was to suspect that the environment is not setup correctly for the user running the pre-commit.bat file. But that would be *me*, so that is ruled out. And the batch file references everything using explicit paths so I don't understand why something can not be found. I tried to redirect the Perl command line by replacing >&2 with >C:\Temp\commit.log but it is empty and then my commit actually runs to completion because the pre-commit script no longer returns a error code on the next line: if NOT %ERRORLEVEL% == 0 goto scmbug_script_failed 2>nul Any other suggestions on how to debug this? Thanks! >-----Original Message----- >From: Kristis Makris [mailto:[email protected]] >Sent: Tuesday, February 10, 2009 12:23 PM >To: Gillis, Paul >Cc: [email protected] >Subject: Re: [scmbug-users] scmbug 0.26.13, Bugzilla 3.2.0, SVN 1.5.5 - >>pre-commit.bat fails > >Hi Paul, > >On Tue, 2009-02-10 at 10:25 -0500, Gillis, Paul wrote: >> I was able to install the daemon and glue using scmbug 0.26.13 working >> with Bugzilla 3.2.0 and SVN 1.5.5 on Windows. >> >> >> >> When I try to do a commit into that repository, I get: >> >> >> >> Commit failed (details follow): >> >> Commit blocked by pre-commit hook (exit code 1) with output: >> >> The system cannot find the path specified. > >This error message is coming from Subversion, not from Scmbug. > >> Can anybody please tell me what might be causing this? > > >I'm suspecting that the pre-commit hook is failing because the path to >Perl is incorrect. > >If you look in Z:\test\hooks\pre-commit.bat you should see something >like: > ># Scmbug_STANZA_START ># ># ># Call the Scmbug integration glue >/usr/bin/perl -I ${REPOS}/hooks/lib/scmbug >${REPOS}/hooks/bin/scmbug_activity.pl >${REPOS}/hooks/etc/scmbug/glue.conf activity_verify ${REPOS} ${TXN} >&2 > >exit $? ># ># ># Scmbug_STANZA_STOP > > >I suspect that the call to perl (and I know you are running Windows) is >an invalid path. I believe the default there should be C:\Perl\bin\perl. >Also make sure you have a C:\Temp. > >In any case, the problem is that scmbug_activity.pl is not even being >called. This e-mail message and all attachments thereto may contain technical data that is subject to export control regulations, or confidential material, and is for the sole use of the intended recipients. Review, dissemination, or other use by anyone else is prohibited. If you are not an intended recipient, please contact the sender and delete all copies.
_______________________________________________ scmbug-users mailing list [email protected] http://lists.mkgnu.net/cgi-bin/mailman/listinfo/scmbug-users
