Closed kba closed 4 years ago
I don't know about the Dockerhub CI failure, and cannot get access to details
dockerhub is apparently having issues today, I'm having a hard time logging in all day. will investigate later.
Merging #130 into master will increase coverage by
0.12%
. The diff coverage is100.00%
.
@@ Coverage Diff @@
## master #130 +/- ##
==========================================
+ Coverage 36.15% 36.28% +0.12%
==========================================
Files 9 9
Lines 993 995 +2
Branches 219 219
==========================================
+ Hits 359 361 +2
Misses 567 567
Partials 67 67
Impacted Files | Coverage Δ | |
---|---|---|
ocrd_tesserocr/recognize.py | 46.94% <100.00%> (+0.34%) |
:arrow_up: |
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact)
,ø = not affected
,? = missing data
Powered by Codecov. Last update 9d2253e...0c614e3. Read the comment docs.
Dockerfile did not add ocrd-tool.json which lead to
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-req-build-mg9yuapk/setup.py'"'"'; __file__='"'"'/
tmp/pip-req-build-mg9yuapk/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f
.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-ergrtt4c
cwd: /tmp/pip-req-build-mg9yuapk/
Complete output (5 lines):
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-req-build-mg9yuapk/setup.py", line 18, in <module>
with open('./ocrd-tool.json', 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: './ocrd-tool.json'
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
Makefile:75: recipe for target 'install' failed
Fixed now.
Wraps
tesserocr.get_languages
with path set toTESSDATA_PREFIX
.