Skip Menu |

This queue is for tickets about the Image-OCR-Tesseract CPAN distribution.

Report information
The Basics
Id: 129220
Status: new
Priority: 0/
Queue: Image-OCR-Tesseract

People
Owner: Nobody in particular
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 1.24
Fixed in: (no value)



Subject: Test suite fails on freebsd systems
On my freebsd 12 & 13 smokers the test suite fails: ... # Testing for command dep: convert .. at t/02_Image_OCR_Tesseract.t line 9. # Testing for command dep: tesseract .. at t/02_Image_OCR_Tesseract.t line 9. made ./t/tmp/outtif.tif 8bpp tiff. at lib/Image/OCR/Tesseract.pm line 73. command: /usr/local/bin/tesseract ./t/tmp/outtif.tif ./t/tmp/outtif.tif 2>/dev/null at lib/Image/OCR/Tesseract.pm line 101. Found text file './t/tmp/outtif.tif.txt' at lib/Image/OCR/Tesseract.pm line 111. content length of text in './t/tmp/outtif.tif.txt' from image './t/tmp/outtif.tif' is 0 at lib/Image/OCR/Tesseract.pm line 114. # Failed test 'tesseract()' # at t/02_Image_OCR_Tesseract.t line 66. # Failed test 'output had length' # at t/02_Image_OCR_Tesseract.t line 68. made ./t/tmp/paragraph.jpg.tmp.15555389383776.tif 8bpp tiff. at lib/Image/OCR/Tesseract.pm line 73. command: /usr/local/bin/tesseract ./t/tmp/paragraph.jpg.tmp.15555389383776.tif ./t/tmp/paragraph.jpg.tmp.15555389383776.tif 2>/dev/null at lib/Image/OCR/Tesseract.pm line 101. Found text file './t/tmp/paragraph.jpg.tmp.15555389383776.tif.txt' at lib/Image/OCR/Tesseract.pm line 111. content length of text in './t/tmp/paragraph.jpg.tmp.15555389383776.tif.txt' from image './t/tmp/paragraph.jpg.tmp.15555389383776.tif' is 0 at lib/Image/OCR/Tesseract.pm line 114. ... (etc) ... # Failed test 'output had length' # at t/02_Image_OCR_Tesseract.t line 68. made ./t/tmp/img_big.jpg.tmp.15555389412653.tif 8bpp tiff. at lib/Image/OCR/Tesseract.pm line 73. command: /usr/local/bin/tesseract ./t/tmp/img_big.jpg.tmp.15555389412653.tif ./t/tmp/img_big.jpg.tmp.15555389412653.tif 2>/dev/null at lib/Image/OCR/Tesseract.pm line 101. Found text file './t/tmp/img_big.jpg.tmp.15555389412653.tif.txt' at lib/Image/OCR/Tesseract.pm line 111. content length of text in './t/tmp/img_big.jpg.tmp.15555389412653.tif.txt' from image './t/tmp/img_big.jpg.tmp.15555389412653.tif' is 0 at lib/Image/OCR/Tesseract.pm line 114. # Failed test 'get_ocr()' # at t/02_Image_OCR_Tesseract.t line 72. Debug on, these are trash files: ./t/tmp/outtif.tif.txt ./t/tmp/paragraph.jpg ./t/tmp/paragraph.jpg.tmp.15555389383776.tif ./t/tmp/paragraph.jpg.tmp.15555389383776.tif.txt ./t/tmp/outtif.tif.txt ./t/tmp/img_small.jpg ./t/tmp/img_small.jpg.tmp.1555538939573.tif ./t/tmp/img_small.jpg.tmp.1555538939573.tif.txt ./t/tmp/outtif.tif.txt ./t/tmp/img_med.jpg ./t/tmp/img_med.jpg.tmp.15555389401730.tif ./t/tmp/img_med.jpg.tmp.15555389401730.tif.txt ./t/tmp/outtif.tif.txt ./t/tmp/img_big.jpg ./t/tmp/img_big.jpg.tmp.15555389412653.tif ./t/tmp/img_big.jpg.tmp.15555389412653.tif.txt# Looks like you failed 12 tests of 22. t/02_Image_OCR_Tesseract.t .. Dubious, test returned 12 (wstat 3072, 0xc00) Failed 12/22 subtests ...