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

Michael Grey wrote:
> <!-- /* Style Definitions */ p.MsoNormal, li.MsoNormal,
> div.MsoNormal {margin:0in; margin-bottom:.0001pt; font-size:12.0pt;
>  font-family:"Times New Roman";} a:link, span.MsoHyperlink
> {color:blue; text-decoration:underline;} a:visited,
> span.MsoHyperlinkFollowed {color:purple;
> text-decoration:underline;} span.EmailStyle17
> {mso-style-type:personal-compose; font-family:Arial;
> color:windowtext;} @page Section1 {size:8.5in 11.0in; margin:1.0in
> 1.25in 1.0in 1.25in;} div.Section1 {page:Section1;} -->
>
> Installed FuzzyOCR and believe all the dependencies.
>
>
>
> Using the sample images I get a Pipe Error ONLY on gif images;
> resulting in no hits on FUZZY_OCR.
>
> Pipe Command "/usr/bin/giftopnm -"
>
>
>
> Giftopnm exists in that path.
>
>
>
> Running giftopnm on the command line seems to work with no errors,
> spitting out a binary file to stdout as expected.
>
>
>
> Any ideas of what might be missing ? ( Fedora Core 4 ).
>
You can try step by step debugging, first of all, what sample is
producing the error? (there are two gif samples).

If it doesn't work with the corrupted sample, try extracting the image
from that eml file (ripmime), then run the pipe manually:

cat filename.gif | giffix | giftopnm - > blah.gif

If that fails, try splitting the commands up and trace down which
binary causes the problem.

Chris
>
>
>
> Thanks?
>
>
> Michael Grey
>
>
>
>
>
>
>
>
>
>
>
> --------- log / reports -------------
>
>
>
> Corrupted-gif.eml
>
>
>
> pts rule name              description
>
> ---- ----------------------
> --------------------------------------------------
>
> 0.1 HTML_MESSAGE           BODY: HTML included in message
>
> 3.0 BAYES_95               BODY: Bayesian spam probability is 95 to
> 99%
>
> [score: 0.9694]
>
> 1.5 FUZZY_OCR_WRONG_CTYPE  BODY: Mail contains an image with wrong
>
> content-type set
>
> Image has format "GIF" but content-type is
>
> "image/jpeg"
>
>
>
>
>
> [2006-08-29 19:20:00] Debug mode: Image has format "GIF" but
> content-type is "image/jpeg"
>
> [2006-08-29 19:20:01] Debug mode: Image is single non-interlaced...
>
>
> [2006-08-29 19:20:01] Unexpected error in pipe to external
> programs.
>
> Please check that all helper programs are installed and in the
> correct path.
>
> (Pipe Command "/usr/bin/giftopnm -", Pipe exit code 1 (""),
> Temporary file: "/tmp/.spamassassin23614sXR9Dltmp")
>
> [2006-08-29 19:20:01] Debug mode: FuzzyOcr ending successfully...
>
> bash-3.00$
>
>
>
>
>
>
>
>
>
> animated-gif.eml
>
>
>
> pts rule name              description
>
> ---- ----------------------
> --------------------------------------------------
>
> 0.7 DATE_IN_PAST_06_12     Date: is 6 to 12 hours before Received:
> date
>
> 0.1 HTML_MESSAGE           BODY: HTML included in message
>
> 0.0 BAYES_50               BODY: Bayesian spam probability is 40 to
> 60%
>
> [score: 0.5000]
>
>
>
>
>
> [2006-08-29 19:22:12] Debug mode: Analyzing file with content-type
> "image/gif"
>
> [2006-08-29 19:22:12] Debug mode: Image is single non-interlaced...
>
>
> [2006-08-29 19:22:12] Unexpected error in pipe to external
> programs.
>
> Please check that all helper programs are installed and in the
> correct path.
>
> (Pipe Command "/usr/bin/giftopnm -", Pipe exit code 1 (""),
> Temporary file: "/tmp/.spamassassin23644bPPq3jtmp")
>
> [2006-08-29 19:22:12] Debug mode: FuzzyOcr ending successfully...
>
>
>
>
>
>
>
>
>

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

iD8DBQFE9XXqJQIKXnJyDxURAuv0AKCNGLWfDNggpjyOLGLQiXQZHh4ukgCgtlBi
ptzwNcXJ4pIaQJGVhZ7yiKE=
=IH6h
-----END PGP SIGNATURE-----

Reply via email to