-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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 :)


Best regards,


Chris


>
> I did not install the following executables but left them commented
>  out in the cf.  Am I correct in assuming that I need to install
> them as well as the others that were required for previous
> versions?  If that's the case, I read that pamthreshold is part of
> the newer releases of Netpbm but what version?  I looked at 10.33
> and it's not there.
>
> [22986] warn: FuzzyOcr: Cannot find executable for gifsicle [22986]
> warn: FuzzyOcr: Cannot find executable for ocrad [22986] warn:
> FuzzyOcr: Cannot find executable for pamthreshold [22986] warn:
> FuzzyOcr: Cannot find executable for tesseract
>
> Thanks for any help on this one.  FuzzyOcr has been a great
> addition to the arsenal...
>
> Ed Kasky ~~~~~~~~~ Randomly Generated Quote (104 of 522): "If you
> know how to spend less than you get, you have the philosopher's
> stone."   --Benjamin Franklin
>

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFoss6JQIKXnJyDxURAiwKAKCVoSN3Cm71xTFPmHh8pK3/n6M/ZACfbp0+
uHZWYeog+LDTjfJdMLnf54Q=
=li9R
-----END PGP SIGNATURE-----

Reply via email to