Skip to content

Failing tests due to incompatible Pillow upgrade #67

@mikegerber

Description

@mikegerber

https://app.circleci.com/pipelines/github/OCR-D/ocrd_calamari/175/workflows/945cc406-80f6-41b6-a24b-ff58f1a12c78/jobs/166

18:00:35.751 INFO processor.CalamariRecognize - INPUT FILE 0 / phys_0001
18:00:35.793 INFO ocrd.workspace.image_from_page - Cropping original image for page 'phys_0001'
18:00:35.815 INFO processor.CalamariRecognize - About to recognize 1 lines of region 'r_1_1'
18:00:35.817 WARNING processor.CalamariRecognize - Using raw image for line 'tl_1' in region 'r_1_1'
------------------------------ Captured log call -------------------------------
INFO     processor.CalamariRecognize:recognize.py:76 INPUT FILE 0 / phys_0001
INFO     ocrd.workspace.image_from_page:workspace.py:968 Cropping original image for page 'phys_0001'
INFO     processor.CalamariRecognize:recognize.py:88 About to recognize 1 lines of region 'r_1_1'
WARNING  processor.CalamariRecognize:recognize.py:100 Using raw image for line 'tl_1' in region 'r_1_1'
=========================== short test summary info ============================
FAILED test/test_recognize.py::test_recognize - TypeError: __array__() takes ...
FAILED test/test_recognize.py::test_recognize_with_checkpoint_dir - TypeError...
FAILED test/test_recognize.py::test_recognize_should_warn_if_given_rgb_image_and_single_channel_model
FAILED test/test_recognize.py::test_word_segmentation - TypeError: __array__(...
FAILED test/test_recognize.py::test_glyphs - TypeError: __array__() takes 1 p...
============================== 5 failed in 46.54s ==============================
Makefile:77: recipe for target 'test' failed
make[1]: *** [test] Error 1
make[1]: Leaving directory '/root/project'
Makefile:82: recipe for target 'coverage' failed
make: *** [coverage] Error 2

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions