You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
18:52:44.963 INFO processor.OcrdSbbTextlineDetectorRecognize - INPUT FILE 0 / <OcrdFile fileGrp=OCR-D-IMG-BIN, ID=OCR-D-IMG-BIN_00000024, mimetype=application/vnd.prima.page+xml, url=OCR-D-IMG-BIN/OCR-D-IMG-BIN_00000024.xml, local_filename=OCR-D-IMG-BIN/OCR-D-IMG-BIN_00000024.xml]/>
Traceback (most recent call last):
File "/usr/local/bin/ocrd-sbb-textline-detector", line 8, in <module>
sys.exit(ocrd_sbb_textline_detector())
File "/usr/local/lib/python3.6/dist-packages/click/core.py", line 829, in __call__
return self.main(*args, **kwargs)
File "/usr/local/lib/python3.6/dist-packages/click/core.py", line 782, in main
rv = self.invoke(ctx)
File "/usr/local/lib/python3.6/dist-packages/click/core.py", line 1066, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/local/lib/python3.6/dist-packages/click/core.py", line 610, in invoke
return callback(*args, **kwargs)
File "/usr/local/lib/python3.6/dist-packages/qurator/sbb_textline_detector/ocrd_cli.py", line 32, in ocrd_sbb_textline_detector
return ocrd_cli_wrap_processor(OcrdSbbTextlineDetectorRecognize, *args, **kwargs)
File "/usr/local/lib/python3.6/dist-packages/ocrd/decorators/__init__.py", line 81, in ocrd_cli_wrap_processor
run_processor(processorClass, ocrd_tool, mets, workspace=workspace, **kwargs)
File "/usr/local/lib/python3.6/dist-packages/ocrd/processor/helpers.py", line 68, in run_processor
processor.process()
File "/usr/local/lib/python3.6/dist-packages/qurator/sbb_textline_detector/ocrd_cli.py", line 67, in process
feature_filter='binarized,grayscale_normalized'
File "/usr/local/lib/python3.6/dist-packages/ocrd/workspace.py", line 423, in image_from_page
for feature in feature_filter.split(',') if feature)):
File "/usr/local/lib/python3.6/dist-packages/ocrd/workspace.py", line 423, in <genexpr>
for feature in feature_filter.split(',') if feature)):
TypeError: argument of type 'NoneType' is not iterable
With this input (full workspace: qurator-spk/sbb_binarization#8 (comment)):
I get:
@kba Might be a bug in OCR-D/core?
The text was updated successfully, but these errors were encountered: