#1  
Old 31st October 2010, 17:05
danielvm danielvm is offline
Junior Member
 
Join Date: Sep 2007
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Default FuzzyOcr Errors

Hi, i installed FuzzyOcr and i'm getting some erorrs in my logs, i've tryed some solutions regarding netpbm version in lenny to old but i keep getting errors please give some directions about what to do:

This are the errors i'm getting:

Quote:
Oct 30 16:29:40 server amavis[7509]: (07509-17) SA warn: FuzzyOcr: Errors in Scanset "tesseract"
Oct 30 16:29:40 server amavis[7509]: (07509-17) SA warn: FuzzyOcr: Return code: 7936, Error: Tesseract Open Source OCR Engine
Oct 30 16:29:40 server amavis[7509]: (07509-17) SA warn: FuzzyOcr: name_to_image_type:Error:Unrecognized image type:/var/lib/amavis/tmp/.spamassassin7509T9hvbntmp/prep.maketiff.out
Oct 30 16:29:40 server amavis[7509]: (07509-17) SA warn: FuzzyOcr: IMAGE::read_header:Error:Can't read this image type:/var/lib/amavis/tmp/.spamassassin7509T9hvbntmp/prep.maketiff.out
Oct 30 16:29:40 server amavis[7509]: (07509-17) SA warn: FuzzyOcr: /usr/bin/tesseract:Error:Read of file failed:/var/lib/amavis/tmp/.spamassassin7509T9hvbntmp/prep.maketiff.out
Oct 30 16:29:40 server amavis[7509]: (07509-17) SA warn: FuzzyOcr: Signal_exit 31 ABORT. LocCode: 3 AbortCode: 3
Oct 30 16:29:40 server amavis[7509]: (07509-17) SA warn: FuzzyOcr: Skipping scanset because of errors, trying next...
Oct 30 16:37:01 server amavis[6650]: (06650-20) (!)SA error: FuzzyOcr: Unable to read output from "/var/lib/amavis/tmp/.spamassassin6650Jutp0Ntmp/scanset.tesseract.out.txt" for scanset tesseract
Oct 30 16:37:01 server amavis[6650]: (06650-20) SA warn: FuzzyOcr: Errors in Scanset "tesseract"
Oct 30 16:37:01 server amavis[6650]: (06650-20) SA warn: FuzzyOcr: Return code: 7936, Error: Tesseract Open Source OCR Engine
Oct 30 16:37:01 server amavis[6650]: (06650-20) SA warn: FuzzyOcr: name_to_image_type:Error:Unrecognized image type:/var/lib/amavis/tmp/.spamassassin6650Jutp0Ntmp/prep.maketiff.out
Oct 30 16:37:01 server amavis[6650]: (06650-20) SA warn: FuzzyOcr: IMAGE::read_header:Error:Can't read this image type:/var/lib/amavis/tmp/.spamassassin6650Jutp0Ntmp/prep.maketiff.out
Oct 30 16:37:01 server amavis[6650]: (06650-20) SA warn: FuzzyOcr: /usr/bin/tesseract:Error:Read of file failed:/var/lib/amavis/tmp/.spamassassin6650Jutp0Ntmp/prep.maketiff.out
Oct 30 16:37:01 server amavis[6650]: (06650-20) SA warn: FuzzyOcr: Signal_exit 31 ABORT. LocCode: 3 AbortCode: 3
Oct 30 16:37:01 server amavis[6650]: (06650-20) SA warn: FuzzyOcr: Skipping scanset because of errors, trying next...
Oct 30 17:45:30 server amavis[24098]: (24098-16) (!)SA error: FuzzyOcr: Unable to read output from "/var/lib/amavis/tmp/.spamassassin24098fFgvWvtmp/scanset.tesseract.out.txt" for scanset tesseract
Oct 30 17:45:30 server amavis[24098]: (24098-16) SA warn: FuzzyOcr: Errors in Scanset "tesseract"
Oct 30 17:45:30 server amavis[24098]: (24098-16) SA warn: FuzzyOcr: Return code: 7936, Error: Tesseract Open Source OCR Engine
Oct 30 17:45:30 server amavis[24098]: (24098-16) SA warn: FuzzyOcr: name_to_image_type:Error:Unrecognized image type:/var/lib/amavis/tmp/.spamassassin24098fFgvWvtmp/prep.maketiff.out
Oct 30 17:45:30 server amavis[24098]: (24098-16) SA warn: FuzzyOcr: IMAGE::read_header:Error:Can't read this image type:/var/lib/amavis/tmp/.spamassassin24098fFgvWvtmp/prep.maketiff.out
Oct 30 17:45:30 server amavis[24098]: (24098-16) SA warn: FuzzyOcr: /usr/bin/tesseract:Error:Read of file failed:/var/lib/amavis/tmp/.spamassassin24098fFgvWvtmp/prep.maketiff.out
Oct 30 17:45:30 server amavis[24098]: (24098-16) SA warn: FuzzyOcr: Signal_exit 31 ABORT. LocCode: 3 AbortCode: 3
Oct 30 17:45:30 server amavis[24098]: (24098-16) SA warn: FuzzyOcr: Skipping scanset because of errors, trying next...
Oct 30 17:47:08 server amavis[23828]: (23828-17) (!)SA error: FuzzyOcr: Unable to read output from "/var/lib/amavis/tmp/.spamassassin23828nXATSmtmp/scanset.tesseract.out.txt" for scanset tesseract
Oct 30 17:47:08 server amavis[23828]: (23828-17) SA warn: FuzzyOcr: Errors in Scanset "tesseract"
Oct 30 17:47:08 server amavis[23828]: (23828-17) SA warn: FuzzyOcr: Return code: 7936, Error: Tesseract Open Source OCR Engine
Oct 30 17:47:08 server amavis[23828]: (23828-17) SA warn: FuzzyOcr: name_to_image_type:Error:Unrecognized image type:/var/lib/amavis/tmp/.spamassassin23828nXATSmtmp/prep.maketiff.out
Oct 30 17:47:08 server amavis[23828]: (23828-17) SA warn: FuzzyOcr: IMAGE::read_header:Error:Can't read this image type:/var/lib/amavis/tmp/.spamassassin23828nXATSmtmp/prep.maketiff.out
Oct 30 17:47:08 server amavis[23828]: (23828-17) SA warn: FuzzyOcr: /usr/bin/tesseract:Error:Read of file failed:/var/lib/amavis/tmp/.spamassassin23828nXATSmtmp/prep.maketiff.out
Oct 30 17:47:08 server amavis[23828]: (23828-17) SA warn: FuzzyOcr: Signal_exit 31 ABORT. LocCode: 3 AbortCode: 3
Oct 30 17:47:08 server amavis[23828]: (23828-17) SA warn: FuzzyOcr: Skipping scanset because of errors, trying next...
This is what it's activated in my FuzzyOcr.cf

Quote:
ifplugin FuzzyOcr

body FUZZY_OCR eval:fuzzyocr_check()
body FUZZY_OCR_WRONG_CTYPE eval:dummy_check()
body FUZZY_OCR_CORRUPT_IMG eval:dummy_check()
body FUZZY_OCR_WRONG_EXTENSION eval:dummy_check()
body FUZZY_OCR_KNOWN_HASH eval:dummy_check()

describe FUZZY_OCR Mail contains an image with common spam text inside
describe FUZZY_OCR_WRONG_CTYPE Mail contains an image with wrong content-type set
describe FUZZY_OCR_WRONG_EXTENSION Mail contains an image with wrong file extension
describe FUZZY_OCR_CORRUPT_IMG Mail contains a corrupted image
describe FUZZY_OCR_KNOWN_HASH Mail contains an image with known hash

priority FUZZY_OCR 900

focr_verbose 1

focr_logfile /var/log/FuzzyOcr.log
focr_global_wordlist /etc/spamassassin/FuzzyOcr.words
focr_bin_helper pnmnorm, pnminvert, ppmtopgm
focr_bin_helper tesseract

focr_path_bin /usr/local/netpbm/bin:/usr/local/bin:/usr/bin
focr_preprocessor_file /etc/mail/spamassassin/FuzzyOcr.preps
focr_scanset_file /etc/mail/spamassassin/FuzzyOcr.scansets

focr_enable_image_hashing 2
focr_digest_db /etc/mail/spamassassin/FuzzyOcr.hashdb
focr_db_hash /etc/mail/spamassassin/FuzzyOcr.db
focr_db_safe /etc/mail/spamassassin/FuzzyOcr.safe.db

focr_db_max_days 15
focr_end_config
endif
When i run a test using the samples it seems to work fine...

HELP
Reply With Quote
Sponsored Links
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Fedora 10 - Virtual Users And Domains With Postfix, Courier etc j.smith1981 Server Operation 6 17th February 2010 01:01
Spamsnake And FuzzyOCR nick_nitro HOWTO-Related Questions 1 3rd October 2008 12:17
Spamsnake - Problem with spamassassin, FuzzyOcr and MySQL debuguser HOWTO-Related Questions 6 16th September 2008 18:37
Install Errors DarkLord00 Installation/Configuration 12 25th February 2007 17:49
PHP Errors in the "WEB-FTP" module crudolphy General 9 27th December 2005 20:17


All times are GMT +2. The time now is 00:40.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.