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 2010/01/17 23:51:57 UTC
[Bug 6290] New: Bayes Broken in 3.3.0 on Fedora 12 with
perl-5.10.0-87.fc12.x86_64
https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6290
Summary: Bayes Broken in 3.3.0 on Fedora 12 with
perl-5.10.0-87.fc12.x86_64
Product: Spamassassin
Version: 3.3.0
Platform: PC
OS/Version: Linux
Status: NEW
Severity: major
Priority: P5
Component: Plugins
AssignedTo: dev@spamassassin.apache.org
ReportedBy: tcasartello@wsc.ma.edu
I execute SA using amavisd-maia. When running amavisd debug I get these errors
for Bayes:
plugin: eval failed: Can't call method "tie_db_readonly" on an undefined
value at /usr/lib/perl5/vendor_perl/5.10.0/Mail/SpamAssassin/Plugin/Bayes.pm
line 612.
plugin: eval failed: Can't call method "tie_db_readonly" on an undefined
value at /usr/lib/perl5/vendor_perl/5.10.0/Mail/SpamAssassin/Plugin/Bayes.pm
line 612.
plugin: eval failed: Can't call method "db_readable" on an undefined value
at /usr/lib/perl5/vendor_perl/5.10.0/Mail/SpamAssassin/Plugin/Bayes.pm line
302.
plugin: eval failed: Can't call method "db_readable" on an undefined value
at /usr/lib/perl5/vendor_perl/5.10.0/Mail/SpamAssassin/Plugin/Bayes.pm line
302.
plugin: eval failed: Can't call method "tie_db_readonly" on an undefined
value at /usr/lib/perl5/vendor_perl/5.10.0/Mail/SpamAssassin/Plugin/Bayes.pm
line 612, <GEN17> line 124.
plugin: eval failed: Can't call method "tie_db_readonly" on an undefined
value at /usr/lib/perl5/vendor_perl/5.10.0/Mail/SpamAssassin/Plugin/Bayes.pm
line 612, <GEN17> line 124.
Happens whether I use the RPM, or compile one of the RC versions. I reverted to
3.2.5 and that made it work..
--
Configure bugmail: https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
[Bug 6290] Bayes Broken in 3.3.0 on Fedora 12 with
perl-5.10.0-87.fc12.x86_64
Posted by bu...@bugzilla.spamassassin.org.
https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6290
Tom Casartello <tc...@wsc.ma.edu> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |tcasartello@wsc.ma.edu
Resolution| |INVALID
--- Comment #4 from Tom Casartello <tc...@wsc.ma.edu> 2010-01-17 18:51:51 UTC ---
(In reply to comment #3)
> Is this with the standard amavisd RPM in Fedora 12?
> Are you using non-default config options like bayes in mysql?
Sorry for not including more details. I was using the package from Fedora 12's
distribution (was installed using yum) so that should be the one. I'm using a
modified version of amavisd that's a part of another product (maia mailguard.)
I also do use MySQL to store the Bayes data. Robert LeBlanc from that product
mentioned there's an update forthcoming that will improve compatibility. It
looks like the real problem is that the modified version of amavisd hasn't been
updated to support SA 3.3.0 yet. My apologies for not checking on that before
reporting. I assumed because it was reporting the bayes.pm file, that it was an
SA issue.
--
Configure bugmail: https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
[Bug 6290] Bayes Broken in 3.3.0 on Fedora 12 with
perl-5.10.0-87.fc12.x86_64
Posted by bu...@bugzilla.spamassassin.org.
https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6290
David Morton <mo...@dgrmm.net> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |mortonda@dgrmm.net
--- Comment #6 from David Morton <mo...@dgrmm.net> 2010-01-26 14:38:01 UTC ---
(In reply to comment #5)
> I think the culprit is the line:
>
> $spamassassin_obj->{bayes_scanner} =
> new Mail::SpamAssassin::Bayes ($spamassassin_obj);
>
> in amavisd-maia. Not sure why is it there - try commenting it out.
I need to get this fixed in Maia... can someone enlighten me as to why it might
have been there? Did the API change?
--
Configure bugmail: https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
[Bug 6290] maia-1.02a broken with spamassassin-3.3.0
Posted by bu...@bugzilla.spamassassin.org.
https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6290
Warren Togami <wt...@redhat.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|Bayes Broken in 3.3.0 on |maia-1.02a broken with
|Fedora 12 with |spamassassin-3.3.0
|perl-5.10.0-87.fc12.x86_64 |
--
Configure bugmail: https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
[Bug 6290] maia-1.02a broken with spamassassin-3.3.0
Posted by bu...@bugzilla.spamassassin.org.
https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6290
--- Comment #7 from Mark Martinec <Ma...@ijs.si> 2010-01-26 17:52:23 UTC ---
> > I think the culprit is the line:
> > $spamassassin_obj->{bayes_scanner} =
> > new Mail::SpamAssassin::Bayes ($spamassassin_obj);
> > in amavisd-maia. Not sure why is it there - try commenting it out.
>
> I need to get this fixed in Maia... can someone enlighten me as to why
> it might have been there? Did the API change?
Just guessing: perhaps it broke for reasons described in Bug 6228
(Bayes.pm module moved to become a plugin), but I don't know why that
line was there in the first place. It is not in spamd, not in amavisd,
not in spamassassin.
The only use of 'new Mail::SpamAssassin::Bayes' I can find in
sub signal_user_changed() in module SpamAssassin.pm.
Perhaps you can track back through the Maia revision control
and see when/why it was added.
--
Configure bugmail: https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
[Bug 6290] Bayes Broken in 3.3.0 on Fedora 12 with
perl-5.10.0-87.fc12.x86_64
Posted by bu...@bugzilla.spamassassin.org.
https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6290
--- Comment #2 from Warren Togami <wt...@redhat.com> 2010-01-17 17:00:45 UTC ---
http://kojipkgs.fedoraproject.org/packages/spamassassin/3.3.0/
Did you try the latest fc12 RPM from here?
When you report please say exactly which package version you tested.
--
Configure bugmail: https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
[Bug 6290] maia-1.02a broken with spamassassin-3.3.0
Posted by bu...@bugzilla.spamassassin.org.
https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6290
--- Comment #8 from David Morton <mo...@dgrmm.net> 2010-01-26 18:08:33 UTC ---
(In reply to comment #7)
>
> Perhaps you can track back through the Maia revision control
> and see when/why it was added.
It goes back to 2004, when code was adapted to amavisd-new 2.2, which was about
the same time as the SA 3.0 release. But I still don't see any clues as to why
it was put in. Oh well.
One of these days we'll try to catch back up with a more recent amavisd-new,
but it appears to work by removing the line. My best guess was that it had to
do with bayes being a plugin, or a misunderstanding of it.
--
Configure bugmail: https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
[Bug 6290] Bayes Broken in 3.3.0 on Fedora 12 with
perl-5.10.0-87.fc12.x86_64
Posted by bu...@bugzilla.spamassassin.org.
https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6290
--- Comment #3 from Warren Togami <wt...@redhat.com> 2010-01-17 18:13:53 UTC ---
Is this with the standard amavisd RPM in Fedora 12?
Are you using non-default config options like bayes in mysql?
--
Configure bugmail: https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
[Bug 6290] Bayes Broken in 3.3.0 on Fedora 12 with
perl-5.10.0-87.fc12.x86_64
Posted by bu...@bugzilla.spamassassin.org.
https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6290
Mark Martinec <Ma...@ijs.si> changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P5 |P2
Target Milestone|Undefined |3.3.0
--- Comment #1 from Mark Martinec <Ma...@ijs.si> 2010-01-17 16:22:36 UTC ---
Can your reproduce the problem from a command-line spamassassin?
Something like:
# su vscan -c 'spamassassin -D -t <0.msg' >0.log 2>&1
If so, please attach the full debug log.
--
Configure bugmail: https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
[Bug 6290] Bayes Broken in 3.3.0 on Fedora 12 with
perl-5.10.0-87.fc12.x86_64
Posted by bu...@bugzilla.spamassassin.org.
https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6290
--- Comment #5 from Mark Martinec <Ma...@ijs.si> 2010-01-18 11:37:17 UTC ---
> Sorry for not including more details. I was using the package from Fedora 12's
> distribution (was installed using yum) so that should be the one. I'm using a
> modified version of amavisd that's a part of another product (maia mailguard.)
I think the culprit is the line:
$spamassassin_obj->{bayes_scanner} =
new Mail::SpamAssassin::Bayes ($spamassassin_obj);
in amavisd-maia. Not sure why is it there - try commenting it out.
--
Configure bugmail: https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.