Hi all,<br><br>I&#39;ve started using cvsspam in a new workplace some weeks ago (I&#39;m a long time user, but not in the last 3 years). Everything was fine, except that yesterday there were 3 RuntimeError episodes. In all 3 instances I get something like this:<br>
<br>/usr/local/lib/cvsspam/cvsspam.rb:229:in `advance&#39;: /tmp/#cvsspam.27771.504-36629626/logfile:424 line did not begin with &#39;#&#39;: if_line_of_code (RuntimeError)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from /usr/local/lib/cvsspam/cvsspam.rb:201:in `each&#39;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from /usr/local/lib/cvsspam/cvsspam.rb:499:in `handleLines&#39;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from /usr/local/lib/cvsspam/cvsspam.rb:1399<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from /usr/local/lib/cvsspam/cvsspam.rb:1391:in `open&#39;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from /usr/local/lib/cvsspam/cvsspam.rb:1391<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from /usr/local/lib/cvsspam/cvsspam.rb:1387:in `open&#39;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from /usr/local/lib/cvsspam/cvsspam.rb:1387<br>/usr/local/lib/cvsspam/collect_diffs.rb:296:in `mailtest&#39;: problem running &#39;/usr/local/lib/cvsspam/cvsspam.rb&#39; (RuntimeError)<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from /usr/local/lib/cvsspam/collect_diffs.rb:461<br><br>Where if_line_of_code is obviously an if statement (in java). Please note that the line numbers may be different than what you expect because I had to change the script in order to do authentication on an SMTP server and execute with nohup. Nevertheless, I don&#39;t think that my changes have caused this issue.<br>
<br>Consider that that if_line_of_code is present in 1 file only and that file hasn&#39;t been modified in months. It has nothing to do with the code change that was going to be notified. The other 2 instance point to other code.<br>
<br>Of course if I open the temp file I can clearly see that that line indeed doesn&#39;t start with &#39;#&#39;. At the same time, though, I don&#39;t see how collect_diffs.rb can have put something without a leading &#39;#&#39; into the temp file. Has anybody ever experienced something like this?<br>
<br>FYI:<br>*) ruby 1.8.5 (2007-03-13 patchlevel 35) [i386-linux]<br>*) cvsspam 0.2.12<br>*) cvs 1.11.22 on a &quot;Fedora Core release 5 (Bordeaux)&quot; server<br><br>Thanks,<br>Giuliano<br>