Closed nathan30 closed 5 years ago
Hello @nathan30
I'm sorry I cannot reproduce the issue. It looks like the function that is being called is not decorated with task decorator. Maybe you have changed the code after you send the task to queue but before running the worker process?
Hello @nathan30
I'm sorry I cannot reproduce the issue. It looks like the function that is being called is not decorated with task decorator. Maybe you have changed the code after you send the task to queue but before running the worker process?
Hi,
Thanks for your response. I finally find the solutions. The problem was the worker.py filename causing issue with the name 'worker'. Rename it to 'launch_worker.py', for example, fix the issue. Weird but now it's working :)
Oh :)
I have an issue with the python worker Kuyruk. Here is the way I call it :
Then I launch the following command to start the worker :
kuyruk --app bin.src.main.OCforInvoices worker
worker is the reference for the worker.py file who handles the arguments when launching the command.
So, when the worker is launched I used the following command to enqueue in worker :
python3 worker.py -c config.ini -f file.pdf
After that Kuyruk return me the following error :
Any ideas ?
Thanks in advance