OCR-D/ocrd_all

»make all« does not work

Closed this issue · 4 comments

... ...
sem --will-cite --fg --id ocrd_all_git git submodule sync  workflow-configuration
Synchronisiere Submodul-URL für 'workflow-configuration'
if git submodule status  workflow-configuration | grep -qv '^ '; then \
        sem --will-cite --fg --id ocrd_all_git git submodule update --init   workflow-configuration && \
        touch workflow-configuration; fi
wget -nv -O /home/jb/.local/share/ocrd-resources/ocrd-tesserocr-recognize/eng.traineddata https://github.com
►/tesseract-ocr/tessdata_fast/raw/master/eng.traineddata || \
wget -nv -O /home/jb/.local/share/ocrd-resources/ocrd-tesserocr-recognize/eng.traineddata https://github.com
►/tesseract-ocr/tessdata_fast/raw/master/ocrd-tesserocr-recognize/eng.traineddata || \
        { rm -f /home/jb/.local/share/ocrd-resources/ocrd-tesserocr-recognize/eng.traineddata; false; }
https://github.com/tesseract-ocr/tessdata_fast/raw/master/eng.traineddata:
2021-10-06 13:38:51 FEHLER 404: Not Found.
https://github.com/tesseract-ocr/tessdata_fast/raw/master/ocrd-tesserocr-recognize/eng.traineddata:
2021-10-06 13:38:52 FEHLER 404: Not Found.
Makefile:696: recipe for target '/home/jb/.local/share/ocrd-resources/ocrd-tesserocr-recognize/eng
►.traineddata' failed
make: *** [/home/jb/.local/share/ocrd-resources/ocrd-tesserocr-recognize/eng.traineddata] Error 1

Pull request #276 fixes that. It is also part of the planned release (see #278).

@jbarth-ubhd, you could run make all -k to ignore those errors and install the Tesseract models manually later.

The current code tries to get Tesseract models from the master branch. I renamed that branch some weeks ago, so it's now called main. The patch does not get models from the main branch, but uses a tagged release which I think is much better.

This issue should be fixed in release v2021-10-12. @jbarth-ubhd, can we close it?

Even works with 2021-11-25 09:19 CET on Ubuntu 18.04:

> make all
> echo $?
0