hi Thomas, i tried ASSP_OCR.pm version 2.12 (even if i suspect there is a
version mismatch in file .pm because it says 2.11) but the issue still
occurs.
it seems to happen randomly with jpg files (not all jpgs).

doing some tests with xstress (a SMTP Stress Testing Tool) i noticed that
files i attach are prefixed with a / (slash) with obvious problem on image
file path:

Oct-11-13 15:50:55 m1-99455-30185 [Worker_1] [TLS-out] [Plugin]
172.20.17.13 <[email protected]> to: [email protected] ASSP_OCR: processing
(attatched) file */xstress.jpg*
Oct-11-13 15:50:55 m1-99455-30185 [Worker_1] [TLS-out] [Plugin]
172.20.17.13 <[email protected]> to: [email protected] ASSP_OCR::get_ocr(),
imagemagick convertproblem? /usr/local/bin/convert *
/opt/assp/tmp/ocr_pl13814994555344/xstress.jpg* -compress none -colorspace
rgb -contrast /opt/assp/tmp/.tesseract_x_temp_1381499455134.tif, 256 1
Oct-11-13 15:50:55 m1-99455-30185 [Worker_1] [TLS-out] [Plugin]
172.20.17.13 <[email protected]> to:
[email protected] *ASSP_OCR:
OCR(2.11)* (TextFile(text1.sid)) data extracted

i don't know if it's sender's mta fault (i'm using xstress for testing my
ASSP servers), but maybe ASSP should sanitize file names before writing
them in tmp directory for converting.
by the way, these emails and attachments are correctly delivered with
correct attachment name (xstress.jpg).

if you could fix this (if this can be a bug..), i would do some more
exhaustive tests with all kind of attachments.

cheers.




On Mon, Oct 7, 2013 at 4:17 PM, Thomas Eckardt
<[email protected]>wrote:

> try ASSP_OCR.pm version 2.12 (just released)
>
> Thomas
>
>
>
>
>
> Von:    aquilinux <[email protected]>
> An:     [email protected],
> Datum:  07.10.2013 13:37
> Betreff:        [Assp-test] ASSP_OCR errors
>
>
>
> Hi all.
> I'm running ASSP version 2.3.3(13276) with Perl v5.14.2 on a Ubuntu x86_64
> box.
> I'm getting this error since ASSP deployment:
>
>
>  ASSP_OCR::get_ocr(), imagemagick convert problem?
> "/usr/local/bin/convert"
> "/opt/assp/tmp/ocr_pl13807957101765image001.jpg" -compress none
> -colorspace
> rgb -contrast "/opt/assp/tmp/.tesseract_x_temp_1380795710360.tif", -1
>
> all ASSP_OCR paths are correct, imagemagick is working fine outside ASSP.
>
> here is module version:
> Plugins::ASSP_OCR 2.09 / 2.09 enabled sourceforge
>
> did anyone encountered this issue yet?
>
> thanks.
>
> --
> "Madness, like small fish, runs in hosts, in vast numbers of instances."
>
> Nessuno mi pettina bene come il vento.
>
> ------------------------------------------------------------------------------
> October Webinars: Code for Performance
> Free Intel webinars can help you accelerate application performance.
> Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most
> from
> the latest Intel processors and coprocessors. See abstracts and register >
> http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk
>
> _______________________________________________
> Assp-test mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/assp-test
>
>
>
>
> DISCLAIMER:
> *******************************************************
> This email and any files transmitted with it may be confidential, legally
> privileged and protected in law and are intended solely for the use of the
>
> individual to whom it is addressed.
> This email was multiple times scanned for viruses. There should be no
> known virus in this email!
> *******************************************************
>
>
>
>
> ------------------------------------------------------------------------------
> October Webinars: Code for Performance
> Free Intel webinars can help you accelerate application performance.
> Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most
> from
> the latest Intel processors and coprocessors. See abstracts and register >
> http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk
> _______________________________________________
> Assp-test mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/assp-test
>
>


-- 
"Madness, like small fish, runs in hosts, in vast numbers of instances."

Nessuno mi pettina bene come il vento.
------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk
_______________________________________________
Assp-test mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/assp-test

Reply via email to