Package: liblept5
Version: 1.74.4-1
Severity: important

Hi,

the new version of tesseract strangely plays with input files in paths below 
/tmp/

Any of the following calls work
 $ tesseract input.tif stdout -l deu -c tessedit_create_hocr=1
 $ tesseract /home/user/input.tif stdout -l deu -c tessedit_create_hocr=1
 $ tesseract /usr/ANY/PATH/input.tif stdout -l deu -c tessedit_create_hocr=1

But with paths below /tmp/, e.g.
 $ tesseract /tmp/ANY/PATH/input.tif stdout -l deu -c tessedit_create_hocr=1
tesseract fails to find the input file, and reports (embedded in HTML)
the following output:
 TIFFOpen: /tmp/ANY/PATH/ANY/PATH/input.tif: No such file or directory.
 Error in pixReadFromMultipageTiff: tif open failed for /tmp/ANY/PATH/input.tif

Please note the duplication of the /ANY/PATH part to the right of /tmp
in the first error line.

As a result tesseract cannot be used anymore in gscan2pdf.

The reason for opening this bug against liblept5 is that tesseract
and its librariers do not contain the string /tmp while liblept5 does.

Please re-assign as appropriate if liblept5 is the wrong package.

Thanks for maintaining liblept5 & tesseract in Debian
Peter


-- System Information:
Debian Release: buster/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1, 
'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 4.14.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB 
(charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages liblept5 depends on:
ii  libc6            2.25-5
ii  libgif7          5.1.4-1
ii  libjpeg62-turbo  1:1.5.2-2+b1
ii  libopenjp2-7     2.3.0-1
ii  libpng16-16      1.6.34-1
ii  libtiff5         4.0.9-2
ii  libwebp6         0.6.0-4
ii  zlib1g           1:1.2.8.dfsg-5

liblept5 recommends no packages.

liblept5 suggests no packages.

-- no debconf information

Reply via email to