Skip to content

hardlyhuman/SE2017

Repository files navigation

SE2017

Smart Attendance Management System - SE2017

Due to version of celery being used you may get the following errors while trying to run server

Error #1

ImportError: cannot import name python_2_unicode_compatible

This refrence this issue celery/django-celery-results#9

Fix:

Replace from celery.five import python_2_unicode_compatible

with from django.utils.encoding import python_2_unicode_compatible

Error #2:

from kombu.utils import json 
ImportError: cannot import name json

References celery/celery#2250

Fix:

Replace from kombu.utls import json

with import json