At 02:52 PM Monday, 1/8/2007, decoder wrote -=>
Ed Kasky wrote:
> I just upgraded to 3.5.1 and it seemed that everything was working
> until I tried using sa-learn on a few messages.  Running
> "spamassassin -D --lint" produces the following errors:
>
> [22986] dbg: plugin: fixed relative path:
> /etc/mail/spamassassin/FuzzyOcr.pm [22986] dbg: plugin: loading
> FuzzyOcr from /etc/mail/spamassassin/FuzzyOcr.pm Subroutine
> FuzzyOcr::O_NONBLOCK redefined at /usr/lib/perl5/5.8.1/Exporter.pm
> line 60. at /usr/lib/perl5/5.8.1/i686-linux-thread-multi/POSIX.pm
> line 19 [22986] dbg: plugin: registered FuzzyOcr=HASH(0x98343b0)
> [22986] dbg: plugin: FuzzyOcr=HASH(0x98343b0) implements
> 'parse_config' [22986] dbg: FuzzyOcr: focr_bin_helper:
> 'pnmnorm,pnminvert,pamthreshold,ppmtopgm,pamtopnm' [22986] info:
> FuzzyOcr: Adding <5> new helper apps [22986] dbg: FuzzyOcr:
> focr_bin_helper: 'tesseract' [22986] info: FuzzyOcr: Adding <1> new
> helper apps
>
> [22986] warn: config: failed to parse line, skipping:
> focr_bin_gifasm /usr/local/bin/gifasm ->(this is installed at
> /usr/local/bin/gifasm) [22986] warn: config: failed to parse line,
> skipping: focr_bin_convert /usr/local/bin/convert ->(this is
> installed at /usr/local/bin/convert) [22986] warn: config: failed
> to parse line, skipping: focr_bin_identify /usr/local/bin/identify
> ->(this is installed at /usr/local/bin/identify)

Hi,

seems like you are trying to define tools here that are not needed
anymore in FuzzyOcr 3.5.

Neither imagemagick (identify/convert), nor gifasm is required anymore
for FuzzyOcr. Please read the dependencies carefully and look at the
shipped FuzzyOcr.cf file. It contains everything that is possible to
define :)

That did the trick.

Just as an FYI, focr_bin_convert is still defined in the cf. Once I remarked that one out, the lint ran with no errors...

Thanks again....

Ed Kasky
~~~~~~~~~
Randomly Generated Quote (328 of 522):
I used to think that the brain was the most wonderful organ
in my body.  Then I realized who was telling me this.
-Emo Phillips, comedian, actor (1956- )

Reply via email to