You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@spamassassin.apache.org by bu...@bugzilla.spamassassin.org on 2007/02/15 20:37:42 UTC

[Bug 5336] New: sa-learn issues warning if called without a target

http://issues.apache.org/SpamAssassin/show_bug.cgi?id=5336

           Summary: sa-learn issues warning if called without a target
           Product: Spamassassin
           Version: unspecified
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: trivial
          Priority: P5
         Component: Learner
        AssignedTo: dev@spamassassin.apache.org
        ReportedBy: raul@dias.com.br


if sa-learn is called without a target (e.g. for stdin input),
the message is warned:

archive-iterator: invalid (undef) format in target list, 2
at /usr/lib/perl5/site_perl/5.8.0/Mail/SpamAssassin/ArchiveIterator.pm
line 727, <STDIN> line 1.

A simple solution right now is to specify '-' as the target when using stdin.

OBS: 3.1.8 is not available in bugzilla yet.



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

[Bug 5336] sa-learn issues warning if called without a target

Posted by bu...@bugzilla.spamassassin.org.
http://issues.apache.org/SpamAssassin/show_bug.cgi?id=5336





------- Additional Comments From felicity@apache.org  2007-02-15 11:49 -------
Created an attachment (id=3866)
 --> (http://issues.apache.org/SpamAssassin/attachment.cgi?id=3866&action=view)
suggested patch




------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

[Bug 5336] [review] sa-learn issues warning if called without a target

Posted by bu...@bugzilla.spamassassin.org.
http://issues.apache.org/SpamAssassin/show_bug.cgi?id=5336


jm@jmason.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED




------- Additional Comments From jm@jmason.org  2007-02-21 15:17 -------
+1

btw I suggest a test suite might be a good idea....



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

[Bug 5336] [review] sa-learn issues warning if called without a target

Posted by bu...@bugzilla.spamassassin.org.
http://issues.apache.org/SpamAssassin/show_bug.cgi?id=5336


felicity@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|3.1.9                       |3.1.10




------- Additional Comments From felicity@apache.org  2007-06-18 14:47 -------
this was actually resolved post-3.1.9 tarball, so it's really 3.1.10. :(



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

[Bug 5336] [review] sa-learn issues warning if called without a target

Posted by bu...@bugzilla.spamassassin.org.
http://issues.apache.org/SpamAssassin/show_bug.cgi?id=5336


maddoc@maddoc.net changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Status Whiteboard|needs 2 votes               |needs 1 votes




------- Additional Comments From maddoc@maddoc.net  2007-02-21 14:52 -------
+1 Works for me. 



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

[Bug 5336] sa-learn issues warning if called without a target

Posted by bu...@bugzilla.spamassassin.org.
http://issues.apache.org/SpamAssassin/show_bug.cgi?id=5336


felicity@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|Undefined                   |3.1.9
            Version|unspecified                 |3.1.8




------- Additional Comments From felicity@apache.org  2007-02-15 11:45 -------
(In reply to comment #0)
> archive-iterator: invalid (undef) format in target list, 2
> at /usr/lib/perl5/site_perl/5.8.0/Mail/SpamAssassin/ArchiveIterator.pm
> line 727, <STDIN> line 1.
> 
> A simple solution right now is to specify '-' as the target when using stdin.

I have a patch, will be up shortly.  Can't believe no one caught this in
testing.  <sigh>

> OBS: 3.1.8 is not available in bugzilla yet.

there is now. :)



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

[Bug 5336] [review] sa-learn issues warning if called without a target

Posted by bu...@bugzilla.spamassassin.org.
http://issues.apache.org/SpamAssassin/show_bug.cgi?id=5336


felicity@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|sa-learn issues warning if  |[review] sa-learn issues
                   |called without a target     |warning if called without a
                   |                            |target
  Status Whiteboard|                            |needs 2 votes






------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

[Bug 5336] [review] sa-learn issues warning if called without a target

Posted by bu...@bugzilla.spamassassin.org.
http://issues.apache.org/SpamAssassin/show_bug.cgi?id=5336


jm@jmason.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Status Whiteboard|needs 1 votes               |ready for commit






------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

[Bug 5336] [review] sa-learn issues warning if called without a target

Posted by bu...@bugzilla.spamassassin.org.
http://issues.apache.org/SpamAssassin/show_bug.cgi?id=5336





------- Additional Comments From olivier.brisson@gmail.com  2007-02-18 22:22 -------
Same problem on FreeBSD with the last version from ports
(p5-Mail-SpamAssassin-3.1.8/)



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

[Bug 5336] [review] sa-learn issues warning if called without a target

Posted by bu...@bugzilla.spamassassin.org.
http://issues.apache.org/SpamAssassin/show_bug.cgi?id=5336


spamassassin@dostech.ca changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |toralf.foerster@gmx.de




------- Additional Comments From spamassassin@dostech.ca  2007-03-05 11:24 -------
*** Bug 5363 has been marked as a duplicate of this bug. ***



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

[Bug 5336] [review] sa-learn issues warning if called without a target

Posted by bu...@bugzilla.spamassassin.org.
http://issues.apache.org/SpamAssassin/show_bug.cgi?id=5336





------- Additional Comments From olivier.brisson@gmail.com  2007-02-18 22:29 -------
(In reply to comment #2)
> Created an attachment (id=3866)
 --> (http://issues.apache.org/SpamAssassin/attachment.cgi?id=3866&action=view) [edit]
> suggested patch
> 

Your patch works for me. I just tested it on about 100 spams and had no errors.
Thank you very much!

Olivier Brisson





------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

[Bug 5336] [review] sa-learn issues warning if called without a target

Posted by bu...@bugzilla.spamassassin.org.
http://issues.apache.org/SpamAssassin/show_bug.cgi?id=5336


felicity@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED




------- Additional Comments From felicity@apache.org  2007-06-11 09:08 -------
committed, finally:

Sending        sa-learn.raw
Transmitting file data .
Committed revision 546181.




------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.