From owner-freebsd-ports@FreeBSD.ORG Tue Nov 28 05:38:48 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 62EE716A4D1; Tue, 28 Nov 2006 05:38:48 +0000 (UTC) (envelope-from bri@sonicboom.org) Received: from entwistle.sonicboom.org (entwistle.sonicboom.org [66.93.34.170]) by mx1.FreeBSD.org (Postfix) with ESMTP id E5C974430B; Tue, 28 Nov 2006 04:44:30 +0000 (GMT) (envelope-from bri@sonicboom.org) Received: from [127.0.0.1] (p3.sonicboom.org [66.93.34.235]) by entwistle.sonicboom.org (8.13.8/8.13.8) with ESMTP id kAS2MlOB048295; Mon, 27 Nov 2006 18:22:51 -0800 (PST) (envelope-from bri@sonicboom.org) Message-ID: <456B9D76.7050001@sonicboom.org> Date: Mon, 27 Nov 2006 18:22:46 -0800 From: Brian User-Agent: Thunderbird 1.5.0.8 (Windows/20061025) MIME-Version: 1.0 To: Shaun Amott References: <456B3BF6.1050704@sonicboom.org> <20061127212713.GD2168@charon.picobyte.net> <456B695B.1010305@sonicboom.org> <20061128010605.GE2168@charon.picobyte.net> In-Reply-To: <20061128010605.GE2168@charon.picobyte.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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 05:38:48 -0000 Shaun Amott wrote: > On Mon, Nov 27, 2006 at 02:40:27PM -0800, Brian wrote: > >> Shaun Amott wrote: >> >>> On Mon, Nov 27, 2006 at 11:26:46AM -0800, Brian wrote: >>> >>> >>>> Have any of you started getting the below errors with fuzzyocr since the >>>> port updated? >>>> >>>> I did have this working manually previously, but now the port has been >>>> updated, and my procmail.log is full of these. The corrupt image line >>>> isn't in all of them, but most of the time it is there. I tried >>>> deleting /usr/local/etc/mail/spamassassin/Fuzzy*, reinstalling the port >>>> and then recopying the 2 example files, still I get the below. >>>> >>>> [33972] warn: plugin: failed to create instance of plugin FuzzyOcr: >>>> Can't locate object method "new" via package "FuzzyOcr" (perhaps you >>>> 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 >>>> "Mail::SpamAssassin::PerMsgStatus" at >>>> /usr/local/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/PerMsgStatus.pm >>>> line 2638. >>>> >>>> >>>> >>> 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. >>> >>> >>> >> I just reinstalled, it is version p5-FuzzyOcr-2.3.b_1,1. One difference >> bwtween now and earlier, I just got a netpbm upgrade The problem still >> persists. >> >> > > 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 > > Thanx that mod worked. While I was combing thru this earlier trying to figure it out, I saw the following in the above cf file. # Logfile (make sure it is writable by the plugin) (Default value: /usr/local/et c/mail/spamassassin/FuzzyOcr.log) focr_logfile /usr/local/etc/mail/spamassassin/FuzzyOcr.log This file isn't created by the port, and the instructions don't say to add it. It seemed to work without the file being present, is it necessary? Brian