slub/ocrd_controller

Controller processing stops shortly after it was called

Closed this issue · 2 comments

Manager

May  6 15:35:49 ocrd-manager for_production.sh: running with 3 26 /data/3 deu Fraktur ocr.sh CONTROLLER=ocrd-controller:22

Controller

May  6 15:35:34 ocrd-controller 15:35:34.885 INFO ocrd.cli.resmgr - Downloading resource {'description': 'Found at data on 2022-05-06 15:27:32.870356', 'name': 'frak2021.traineddata', 'size': 3421140, 'url': '/data/frak2021.traineddata', 'version_range': '???', 'type': 'file', 'parameter_usage': 'as-is', 'path_in_archive': '.'}

May  6 15:35:34 ocrd-controller 15:35:34.891 INFO ocrd.resource_manager._copy_impl - Copying /data/frak2021.traineddata

May  6 15:35:35 ocrd-controller 15:35:35.225 INFO ocrd.cli.resmgr - Downloaded /data/frak2021.traineddata to /models/ocrd-resources/ocrd-tesserocr-recognize/frak2021.traineddata

May  6 15:35:35 ocrd-controller 15:35:35.225 INFO ocrd.cli.resmgr - Use in parameters as 'frak2021.traineddata'

That's weird. Where does that ocrd resmgr call come from?

The timing suggests this happened before for_production.sh was called. Perhaps you issued the resmgr command interactively earlier, but the controller came online only after for_production.sh was also called?

In any case, there is no processing and no logging about processing after 15:35:49...

The problem can not be reproduced atm. If it occurs again, I will reopen the issue.