-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ocrd network processing-worker
can only invoke cli
#1085
Comments
Possible only for processors that are installed in the same python environment as the processing worker, not possible in general IIUC. |
Recap of the discussion yesterday:
|
There is no way for |
For starting workers with docker-compose I use commands like this:
command: ocrd network processing-worker --database $MONGODB_URL --queue $RABBITMQ_URL --create-queue --queue-connect-attempts 5 ocrd-anybaseocr-crop
.That creates a
ProcessingWorker
class withprocessor_class
set toNone
. This finally leads to callrun_cli
in process_helpers.py.invoke_processor().Maybe it is possible to provide the class (string with class-name is not sufficient) somehow with the
ocrd network processing-worker
command.The text was updated successfully, but these errors were encountered: