You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@spamassassin.apache.org by Theo Van Dinter <fe...@kluge.net> on 2005/04/30 14:41:09 UTC

Broken nightly run

Oops.  Someone's buying a round... ;)

line 875, btw:

165354         jm     if (sysopen ($tmpfile, $reportfile, O_RDWR|O_CREAT|O_EXCL, 0600))
165354         jm     {
165354         jm       last;
165354         jm     }

last can't be used in a "do", at least according to the POD.

----- Forwarded message from Cron Daemon <ro...@eclectic.kluge.net> -----

[Updating /home/corpus/SA/spamassassin-corpora]
U  lib/Mail/SpamAssassin/HTML.pm
U  lib/Mail/SpamAssassin/MailingList.pm
U  lib/Mail/SpamAssassin/Logger/Stderr.pm
U  lib/Mail/SpamAssassin/Message/Metadata/Received.pm
U  lib/Mail/SpamAssassin/Message/Node.pm
U  lib/Mail/SpamAssassin/Message/Metadata.pm
U  lib/Mail/SpamAssassin/Conf/Parser.pm
U  lib/Mail/SpamAssassin/Util.pm
U  lib/Mail/SpamAssassin/Plugin/Pyzor.pm
U  lib/Mail/SpamAssassin/Bayes.pm
U  rules/20_advance_fee.cf
U  rules/70_scraped.cf
U  rules/70_broken_rules.cf
U  rules/70_testing.cf
U  t/spf.t
U  t/data/spam/spf1
A  t/data/spam/spf2
A  t/data/spam/spf3
U  USAGE
Updated to revision 165392.
[Removing old Bayes DB]
[Running mass-check '--progress --net -j 4 -n' in /home/felicity/SA/corpus]
[Using '-45 days' for --after setting]
status: starting scan stage                              now: 2005-04-30 05:11:13
Exiting subroutine via last at /home/corpus/SA/spamassassin-corpora/masses//../lib/Mail/SpamAssassin/Util.pm line 875.
Exiting subroutine via last at /home/corpus/SA/spamassassin-corpora/masses//../lib/Mail/SpamAssassin/Util.pm line 875.
Can't "last" outside a loop block at /home/corpus/SA/spamassassin-corpora/masses//../lib/Mail/SpamAssassin/Util.pm line 875.
Could not open file 'spam.log': No such file or directory at /home/corpus/SA/spamassassin-corpora/masses/hit-frequencies line 355.
There seems to be a problem with either ham.log or spam.log, aborting!

----- End forwarded message -----

-- 
Randomly Generated Tagline:
"It's as clean as a whistle...?  Well, I've seen some pretty dirty 
 whistles in my time..."             - Theo

Re: Broken nightly run

Posted by Daniel Quinlan <qu...@pathname.com>.
Theo Van Dinter <fe...@kluge.net> writes:

> last can't be used in a "do", at least according to the POD.

Fixed with a "for" loop.  It was doing 21 attempts rather than 20
anyway, and I suspect the author wanted 20.  ;-)

Daniel

-- 
Daniel Quinlan
http://www.pathname.com/~quinlan/