Ticket #417 (assigned defect)

Opened 1 year ago

Last modified 1 year ago

Errors in FuzzyOcr.pm

Reported by: wt Assigned to: decoder (accepted)
Priority: major Milestone:
Component: Don't know Version: SVN
Keywords: Cc:

Description

Using the svn version w/ SA 3.2.2 I see these errors on not all images but a decent amount of them. I do not have pdf processing enabled. The best I can tell is a file claiming to be an image but really a pdf or something? What do you need from me in order to fix this?

Oct 10 15:36:13 a spamd[25889]: prefork: child states: BIBIBBIIIII 
Oct 10 15:36:13 a spamd[20091]: Use of uninitialized value in concatenation (.) or string at /etc/mail/spamassassin/FuzzyOcr.pm line 382. 
Oct 10 15:36:13 a spamd[20091]: Use of uninitialized value in concatenation (.) or string at /etc/mail/spamassassin/FuzzyOcr.pm line 383. 
Oct 10 15:36:13 a spamd[20091]: Use of uninitialized value in pattern match (m//) at /etc/mail/spamassassin/FuzzyOcr.pm line 396. 
Oct 10 15:36:13 a spamd[20091]: Use of uninitialized value in pattern match (m//) at /etc/mail/spamassassin/FuzzyOcr.pm line 400. 
Oct 10 15:36:13 a spamd[20091]: Use of uninitialized value in concatenation (.) or string at /etc/mail/spamassassin/FuzzyOcr.pm line 406. 
Oct 10 15:36:13 a spamd[20091]: Use of uninitialized value in concatenation (.) or string at /etc/mail/spamassassin/FuzzyOcr.pm line 722. 
Oct 10 15:36:13 a spamd[20091]: FuzzyOcr: Cannot exec pdftops, skipping image 
Oct 10 15:36:13 a spamd[20091]: FuzzyOcr: Cannot exec pstopnm, skipping image 
Oct 10 15:36:13 a spamd[20091]: FuzzyOcr: Cannot exec pdfinfo, skipping image 

Attachments

Change History

(in reply to: ↑ description ) 11.10.2007 18:59:33 changed by decoder

  • status changed from new to assigned.

Hi,

What do you need from me in order to fix this?

the email that causes this behavior would be nice (you can either attach it here, or if that is too public, you can also send it to my private mail adress (decoder at own-hero dot net).

Best regards,

Chris

22.10.2007 19:56:40 changed by wt

I would have to sanitize these emails w/ attachements. But I point in the right direction seems to be that these emails include image attachements and a pdf file. Is the pdf not getting excluded for processing when their are images attached also?

Thanks,

William

26.10.2007 19:40:01 changed by decoder

Nope, I haven't thought about situations where both is attached... the errors however seem to indicate that there is something going wrong with the extraction of the files to disk. The mail to reproduce could probably be helpful.

01.11.2007 17:50:34 changed by wt

Ill see if I can find an email suitable for submiting. In the mean time can you check the code? If it finds a pdf in the attachements it should skip it if you have it disabled.

Thanks,

William


Add/Change #417 (Errors in FuzzyOcr.pm)