Celery CRITICAL/MainProcess] Unrecoverable error: AttributeError(“'float' object has no attribute 'items'”,)

后端 未结 4 1747
一生所求
一生所求 2021-02-19 10:50

I\'ve been running a flask application with a celery worker and redis in three separated docker containers without any issue.

This is how I start it:

cele

4条回答
  •  温柔的废话
    2021-02-19 11:12

    For anyone who use the docker-airflow, I used the folk of puckel/docker-airflow Just need to modify the dockerfile by adding

       && pip install 'redis>=2.10.5,<3'\
    

    replace celery[redis] with only celery, by adding celery in apache-airflow built-in module i.e.,

      && pip install apache-airflow[crypto,celery,postgres,hive,jdbc,mysql]==$AIRFLOW_VERSION 
    

    Update: They also change the docker-airflow dockerfile recently to fix this bug, see here

提交回复
热议问题