Start cell keyerror and report an error

Local “Python” manage.py The error is as follows:

{'timelimit': (None, None), 'utc': False, 'chord': None, 'args': [], 'retries': 0, 'expires': None, 'task': u'home_application.celery_tasks.get_data_cycle_info', 'callbacks': None, 'errbacks': None, 't
askset': None, 'kwargs': {}, 'eta': None, 'id': '881d3c41-0d40-4a0e-9a86-60eca081b49c'} (248b)
Traceback (most recent call last):
  File "C:\python_env\dc_iip\lib\site-packages\celery\worker\consumer.py", line 455, in on_task_received
    strategies[name](message, body,
KeyError: u'home_application.celery_tasks.get_data_cycle_info'

In the early stage, the celery task was run, and then the app name initialized by the framework was changed to the specified project name due to the normalization of the project.
Rabbitmq service under windows is running all the time, in which the previous app name is also recorded, so an error is reported.

Solution: restart rabbitmq service

Read More: