subversion-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ryan Schmidt <subversion-20...@ryandesign.com>
Subject Re: post-commit script sends a void message
Date Fri, 04 Jun 2010 06:50:13 GMT
On Jun 4, 2010, at 01:39, Mauro Gatti wrote:

>>> Use of uninitialized value in exec at /usr/lib/perl5/site_perl/5.8.8/SVN/Notify.pm
line 2303.
>>> Can't exec "": No such file or directory at /usr/lib/perl5/site_perl/5.8.8/SVN/Notify.pm
line 2303.
>> 
>> I added two flags to svnnotify:
>> --svnlook      
>> --sendmail      

Right, it looks like otherwise it doesn't know where to find your svnlook program.


>> and now i got only these two errors:
>> 
>> substr outside of string at /usr/lib/perl5/site_perl/5.8.8/SVN/Notify.pm line 1303.
>> Use of uninitialized value in index at /usr/lib/perl5/site_perl/5.8.8/SVN/Notify.pm
line 1303.
> 
> Maybe I found the problem.
> It seems there is a problem in line 1030 in Noitify.pm
> 
> my $i = index substr($self->{message}[0], 10), '. '; 
> 
> What happens if the comment I insert when I commit something is less then 10 characters
and doesn't contain a period?


Right, this looks like a known issue:

https://rt.cpan.org/Public/Bug/Display.html?id=50390




Mime
View raw message