From owner-freebsd-ports@FreeBSD.ORG Tue Nov 28 06:08:33 2006 Return-Path: X-Original-To: ports@FreeBSD.org Delivered-To: freebsd-ports@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0E71516A4AB for ; Tue, 28 Nov 2006 06:08:33 +0000 (UTC) (envelope-from shaun@FreeBSD.org) Received: from dione.picobyte.net (host-212-158-207-124.bulldogdsl.com [212.158.207.124]) by mx1.FreeBSD.org (Postfix) with SMTP id 1753244455 for ; Tue, 28 Nov 2006 05:50:16 +0000 (GMT) (envelope-from shaun@FreeBSD.org) Received: from charon.picobyte.net (charon.picobyte.net [IPv6:2001:4bd0:201e::fe03]) by dione.picobyte.net (Postfix) with ESMTP; Tue, 28 Nov 2006 01:06:34 +0000 (GMT) Date: Tue, 28 Nov 2006 01:06:34 +0000 From: Shaun Amott To: Brian Message-ID: <20061128010605.GE2168@charon.picobyte.net> References: <456B3BF6.1050704@sonicboom.org> <20061127212713.GD2168@charon.picobyte.net> <456B695B.1010305@sonicboom.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="8TaQrIeukR7mmbKf" Content-Disposition: inline In-Reply-To: <456B695B.1010305@sonicboom.org> User-Agent: Mutt/1.5.11 (FreeBSD i386) Cc: ports@FreeBSD.org Subject: Re: fuzzyocr X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Nov 2006 06:08:33 -0000 --8TaQrIeukR7mmbKf Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Nov 27, 2006 at 02:40:27PM -0800, Brian wrote: >=20 > Shaun Amott wrote: > >On Mon, Nov 27, 2006 at 11:26:46AM -0800, Brian wrote: > > =20 > >>Have any of you started getting the below errors with fuzzyocr since th= e=20 > >>port updated? > >> > >>I did have this working manually previously, but now the port has been= =20 > >>updated, and my procmail.log is full of these. The corrupt image line= =20 > >>isn't in all of them, but most of the time it is there. I tried=20 > >>deleting /usr/local/etc/mail/spamassassin/Fuzzy*, reinstalling the port= =20 > >>and then recopying the 2 example files, still I get the below.=20 > >> > >>[33972] warn: plugin: failed to create instance of plugin FuzzyOcr:=20 > >>Can't locate object method "new" via package "FuzzyOcr" (perhaps you=20 > >>forgot to load "FuzzyOcr"?) at (eval 209) line 1. > >>[33972] warn: rules: failed to run FUZZY_OCR_CORRUPT_IMG test, skipping: > >>[33972] warn: (Can't locate object method "dummy_check" via package=20 > >>"Mail::SpamAssassin::PerMsgStatus" at=20 > >>/usr/local/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/PerMsgStatus.pm= =20 > >>line 2638. > >> > >> =20 > > > >Which version of the port do you have? 2.3.b,1 or 2.3.b_1,1? There was a > >problem in the previous version, but it should be fixed now. > > > > =20 > I just reinstalled, it is version p5-FuzzyOcr-2.3.b_1,1. One difference= =20 > bwtween now and earlier, I just got a netpbm upgrade The problem still= =20 > persists. >=20 Sorry about this. It seems my last fix was incomplete. I'll update the port again. In the meantime, you can replace the first line (loadplugin FuzzyOcr...) in FuzzyOcr.cf with: loadplugin Mail::SpamAssassin::Plugin::FuzzyOcr Shaun --=20 Shaun Amott // PGP: 0x6B387A9A "A foolish consistency is the hobgoblin of little minds." - Ralph Waldo Emerson --8TaQrIeukR7mmbKf Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFFa4uakmhdCGs4epoRAqdRAKDZrvFbp+P82Y6lSRpiydetuiiI5gCgw1jH aRfqyLS+Y4QQumXy8JzRXNM= =lUfu -----END PGP SIGNATURE----- --8TaQrIeukR7mmbKf--