Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 251687

Summary: mail-filter/spamassassin-fuzzyocr patches for tmpdir bug and . in fname bug
Product: Gentoo Linux Reporter: Heath Caldwell (RETIRED) <hncaldwell>
Component: New packagesAssignee: Gentoo Perl team <perl>
Status: RESOLVED FIXED    
Severity: normal CC: chutzpah, henson, tomk, voyageur
Priority: High Keywords: Inclusion
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://fuzzyocr.own-hero.net/ticket/421
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Patch for tmpdir bug
Patch for . in file name bug
Overlay with all patches

Description Heath Caldwell (RETIRED) gentoo-dev 2008-12-20 00:44:26 UTC
There is a bug in FuzzyOCR where it keeps reusing the some tmpdir for images, so processes step on each other's stuff, resulting in errors like this in the log:

Error running preprocessor(pamthreshold): /usr/bin/pamthreshold -simple -threshold 0.5
pamthreshold: bad magic number - not a PAM, PPM, PGM, or PBM file

See http://fuzzyocr.own-hero.net/ticket/421 and http://fuzzyocr.own-hero.net/ticket/110



Also, there is another bug where .'s are used in the image file name when it is generated from the content-id, causing an error when the part after the . is misinterpreted as a file extension.

See http://fuzzyocr.own-hero.net/ticket/60



Please consider including the attached patches to fix these bugs.
Comment 1 Heath Caldwell (RETIRED) gentoo-dev 2008-12-20 00:45:24 UTC
Created attachment 175916 [details, diff]
Patch for tmpdir bug
Comment 2 Heath Caldwell (RETIRED) gentoo-dev 2008-12-20 00:46:08 UTC
Created attachment 175917 [details, diff]
Patch for . in file name bug
Comment 3 Luca "K4my" Camillo 2009-06-24 22:22:40 UTC
Created attachment 195701 [details]
Overlay with all patches

this overlay is build with all patches I can found for FuzzyOcr
Comment 4 Bernard Cafarelli gentoo-dev 2009-11-13 15:31:27 UTC
Thanks for the report! And sorry for the delay

I've just added 3.6.0 in tree, with both patches included (they were reported separately in other bugreports)