Mailing List Archive

[Bug 8027] New: extracttext plugin fails when executable installed in a path containing a space
https://bz.apache.org/SpamAssassin/show_bug.cgi?id=8027

Bug ID: 8027
Summary: extracttext plugin fails when executable installed in
a path containing a space
Product: Spamassassin
Version: 4.0.0
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P2
Component: Plugins
Assignee: dev@spamassassin.apache.org
Reporter: sidney@sidney.com
Target Milestone: Undefined

The default installation for at least one of the available Windows installation
files for Tesseract is in a subdirectory of C:\Program Files. The entire
command line is one config entry that is parsed by splitting on space. That
breaks if there is an embedded space, and there is no provision for quoting
fields in teh value. Fixing this could be done by making the executable ma,e be
a separate config entry from the command line arguments, or the parsing code
can be made more complex to handle quotes.

Until this is fixed a viable workaround is to install tesseract and pdftotext
only in directory paths with no spaces.

--
You are receiving this mail because:
You are the assignee for the bug.