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 2005/10/04 21:05:34 UTC

[Bug 4617] New: Can't call method "finish" on an undefined value

http://bugzilla.spamassassin.org/show_bug.cgi?id=4617

           Summary: Can't call method "finish" on an undefined value
           Product: Spamassassin
           Version: 3.1.0
          Platform: Sun
        OS/Version: Solaris
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Plugins
        AssignedTo: dev@spamassassin.apache.org
        ReportedBy: schulz@adi.com


I am getting the following messages in my log file now that I am running
SpamAssassin 3.1.0.

spamd[21520]: Can't call method "finish" on an undefined value at
/opt/perl/lib/site_perl/5.8.5/Mail/SpamAssassin/Plugin/AWL.pm line 397.

I am getting between 8 to 20 per day.



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

[Bug 4617] [review] Can't call method "finish" on an undefined value

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





------- Additional Comments From spamassassin@dostech.ca  2005-10-31 18:39 -------
yeah, +1



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

[Bug 4617] Can't call method "finish" on an undefined value

Posted by bu...@bugzilla.spamassassin.org.
http://bugzilla.spamassassin.org/show_bug.cgi?id=4617





------- Additional Comments From schulz@adi.com  2005-10-04 12:26 -------
Almost a mid air collision there!  It looks like it wants to open a whitelist
in /var/nomail.  I don't know why it would do that.  I will have to check the
accounts and see if there is an account with /var/nomail as the home directory.



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

[Bug 4617] Can't call method "finish" on an undefined value

Posted by bu...@bugzilla.spamassassin.org.
http://bugzilla.spamassassin.org/show_bug.cgi?id=4617


jm@jmason.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |trivial






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

[Bug 4617] [review] Can't call method "finish" on an undefined value

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


jlchafardet@gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jlchafardet@gmail.com




------- Additional Comments From jlchafardet@gmail.com  2006-07-19 18:21 -------
*** Bug 5001 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 4617] [review] Can't call method "finish" on an undefined value

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


jm@jmason.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Can't call method "finish"  |[review] Can't call method
                   |on an undefined value       |"finish" on an undefined
                   |                            |value




------- Additional Comments From jm@jmason.org  2005-10-31 18:37 -------
bug 4656 has the fix, from Jamie McCarthy (hi Jamie!) -- 
http://issues.apache.org/SpamAssassin/attachment.cgi?id=3221&action=view

my vote: +1



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

[Bug 4617] Can't call method "finish" on an undefined value

Posted by bu...@bugzilla.spamassassin.org.
http://bugzilla.spamassassin.org/show_bug.cgi?id=4617





------- Additional Comments From schulz@adi.com  2005-10-04 12:19 -------
Created an attachment (id=3158)
 --> (http://bugzilla.spamassassin.org/attachment.cgi?id=3158&action=view)
Section of log file.

I should have looked more closely.  There are a bunch of probably related
messages in the log file.  Attached is a section of the log file.



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

[Bug 4617] Can't call method "finish" on an undefined value

Posted by bu...@bugzilla.spamassassin.org.
http://bugzilla.spamassassin.org/show_bug.cgi?id=4617





------- Additional Comments From felicity@apache.org  2005-10-04 12:15 -------
Subject: Re:   New: Can't call method "finish" on an undefined value

On Tue, Oct 04, 2005 at 12:05:34PM -0700, bugzilla-daemon@bugzilla.spamassassin.org wrote:
> I am getting the following messages in my log file now that I am running
> SpamAssassin 3.1.0.
> 
> spamd[21520]: Can't call method "finish" on an undefined value at
> /opt/perl/lib/site_perl/5.8.5/Mail/SpamAssassin/Plugin/AWL.pm line 397.

Hrm.  Looking at the AWL plugin, it looks like if the eval fails to create the
whitelist object:
      $whitelist = Mail::SpamAssassin::AutoWhitelist->new($pms->{main});

we'll check for the error, and then specifically try to run:
      eval { $whitelist->finish(); };

which is line 397.  I'd say we ought to wrap that in a "if (defined
$whitelist)" check.


I'm curious why AWL is failing though, can you run with -D and see what error
is being returned?  The code looks like it'd be an error opening the awl file.





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

[Bug 4617] [review] Can't call method "finish" on an undefined value

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


jm@jmason.org changed:

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




------- Additional Comments From jm@jmason.org  2005-12-08 22:21 -------
applied.



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

[Bug 4617] Can't call method "finish" on an undefined value

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


spamassassin@dostech.ca changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jamie@mccarthy.vg




------- Additional Comments From spamassassin@dostech.ca  2005-10-31 18:24 -------
*** Bug 4656 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 4617] Can't call method "finish" on an undefined value

Posted by bu...@bugzilla.spamassassin.org.
http://bugzilla.spamassassin.org/show_bug.cgi?id=4617





------- Additional Comments From schulz@adi.com  2005-10-04 12:55 -------
There were accounts with /var/nomail as the home directory.  They are now
either deleted or killed in sendmail's access file.  Checking that
whitelist is defined would still be a good idea.



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

[Bug 4617] [review] Can't call method "finish" on an undefined value

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


spamassassin@dostech.ca changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Status Whiteboard|                            |needs 1 vote






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

[Bug 4617] Can't call method "finish" on an undefined value

Posted by bu...@bugzilla.spamassassin.org.
http://bugzilla.spamassassin.org/show_bug.cgi?id=4617


felicity@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|Undefined                   |3.1.1






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