I tried to run pulpcore-worker and got the below errors
podman run --name pulp-worker pulp-minimal:3.69.2 pulpcore-worker
Traceback (most recent call last):
File “/usr/local/bin/pulpcore-worker”, line 8, in
sys.exit(worker())
File “/usr/local/lib/python3.9/site-packages/click/core.py”, line 1157, in call
return self.main(*args, **kwargs)
File “/usr/local/lib/python3.9/site-packages/click/core.py”, line 1078, in main
rv = self.invoke(ctx)
File “/usr/local/lib/python3.9/site-packages/click/core.py”, line 1434, in invoke
return ctx.invoke(self.callback, **ctx.params)
File “/usr/local/lib/python3.9/site-packages/click/core.py”, line 783, in invoke
return __callback(*args, **kwargs)
File “/usr/local/lib/python3.9/site-packages/pulpcore/tasking/entrypoint.py”, line 43, in worker
PulpcoreWorker().run(burst=burst)
File “/usr/local/lib/python3.9/site-packages/pulpcore/tasking/worker.py”, line 542, in run
self.handle_available_tasks()
File “/usr/local/lib/python3.9/site-packages/pulpcore/tasking/worker.py”, line 482, in handle_available_tasks
keep_looping = self.unblock_tasks()
File “/usr/local/lib/python3.9/site-packages/pulpcore/tasking/worker.py”, line 309, in unblock_tasks
_(“Running task %s was not previously marked unblocked. Fixing.”, task.pk)
TypeError: gettext() takes 1 positional argument but 2 were given
Has anyone seen this before?
The pulpcore and plugins version are
“versions”: {
“deb”: “3.5.0”,
“rpm”: “3.27.2”,
“core”: “3.69.2”,
“file”: “3.69.2”,
“maven”: “0.8.1”,
“ostree”: “2.4.4”,
“python”: “3.12.5”,
“ansible”: “0.23.1”,
“certguard”: “3.69.2”,
“container”: “2.22.1”
Thanks